Patent ID: 8447966

Claim:
A peripheral control module for a computer system, the computer system including a power switch capable of outputting a power signal, the peripheral control module comprising: a control unit having a program code for controlling a peripheral module; and a control circuit coupled with the power switch and the control unit for receiving the power signal and outputting a switching signal to the control unit, the control circuit resetting the program code to an initial state before the control unit receives the switching signal, the control circuit comprising: a control logic outputting an enabling signal according to a state of the power signal; a buffer receiving the power signal and the enabling signal, and then determining whether the switching signal being transmitted to the control unit according to the state of the power signal and a state of the enabling signal; and a reset unit coupled with the control unit and determining whether a reset signal being outputted according to a state of an output terminal of the buffer thus to reset the program code of the control unit to the initial state.