Patent ID: 8374046

Claim:
A computer-based method for clearing data stored in a complementary metal-oxide semiconductor (CMOS) chip, the CMOS chip being connected to a CMOS jumper, the CMOS jumper being connected to a general purpose input/output (GPIO) interface, the method comprising: writing a first logic value to a bit of a GPIO direction register of the GPIO interface, the bit associated with a GPIO pin of the GPIO interface, to configure the GPIO pin as an output port; writing a second logic value to a bit of a GPIO data register of the GPIO interface, the bit associated with the GPIO pin, to enable the GPIO pin to generate a GPIO signal with a high level, and outputting the GPIO signal with the high level to the CMOS jumper; receiving a command to clear the data stored in the CMOS chip; and replacing the second logic value stored in the bit associated with the GPIO pin in the GPIO data register with a third logic value, to pull down the GPIO signal from the high level to a low level, so as to clear the data stored in the CMOS chip.