| CPC G06F 1/325 (2013.01) [G06F 1/3203 (2013.01)] | 20 Claims |

|
1. A battery-powered electronic device, comprising:
a processor; and
a hardware polling peripheral, configured to periodically poll one or more configurable I/O pins of the hardware polling peripheral for a change in state while the processor is in a low-power state, comprising:
an I/O configuration register configured to store I/O configuration information associated with the one or more configurable I/O pins;
polling logic for configuring a first I/O pin of the hardware polling peripheral as an input and a second I/O pin of the hardware polling peripheral as an output in accordance with the I/O configuration register, for periodically polling the first I/O pin while the processor is in the low-power state (a “polling cycle”) and sending an interrupt signal to the processor via the second I/O pin when a change of state of the first I/O pin is detected by the polling logic.
|