Abstract:
Addressing method for multiple chips is provided. Each chip includes an input enable terminal, an output enable terminal, a data input terminal, and a clock terminal. The output enable terminal of a previous stage is connected to the input enable terminal of a next stage. The method includes setting an initial address to an address of each chip via a system; setting a state of each chip to a disable state; enabling the state of a first-one chip among the chips to an enable state, and setting the first chip as a previous-stage chip; updating the address of the previous-stage chip; enabling a next-stage chip connected after the previous-stage chip, in which the system controls the output enable terminal of the previous-stage chip to output an enable signal to enable the next-stage chip, according to the address of the previous-stage chip; and the updating the address of the next-stage chip.
Abstract:
An uninterruptable power supply system is connected to motherboard and hard disk respectively. An interrupt signal is sent to power management circuit to command power management circuit to control the power switching circuit to switch the power of motherboard and hard disk to battery when a power interrupt is detected in a running computer by power detecting circuit. At the same time, central processing unit (CPU) on motherboard is commanded to save running programs and data in the hard disk. As such, CPU on motherboard can read the stored programs and data from hard disk when computer is turned on again. Thus computer may recover to the previous normal state. This can effectively avoid data lost once blackout occurred.