CPC G06F 1/3237 (2013.01) [G05F 1/56 (2013.01); G06F 1/3203 (2013.01); G11C 5/147 (2013.01); H03B 5/02 (2013.01); H03K 3/037 (2013.01); H05B 45/30 (2020.01)] | 20 Claims |
1. An electronic circuit comprising:
a first circuit;
a non-volatile memory configured to store configuration data for configuring the first circuit;
a first oscillator having an output configured to deliver a first clock signal when the first oscillator is enabled; and
a main circuit coupled to the output of the first oscillator and comprising a plurality of configuration registers, wherein the first circuit, the non-volatile memory, the first oscillator, and the main circuit are integrated in an integrated circuit, and wherein the main circuit is configured to:
when an input supply voltage becomes higher than a first threshold, cause the integrated circuit to transition into an initialization state in which the first oscillator is enabled and the configuration data are copied from the non-volatile memory to the plurality of configuration registers,
after the configuration data are copied from the non-volatile memory to the plurality of configuration registers, cause the integrated circuit to transition into a standby state in which the first oscillator is disabled and content of the plurality of configuration registers is preserved, and
when the integrated circuit is in the standby state, upon reception of a wakeup event, cause the configuration data from the plurality of configuration registers to be applied to the first circuit, and cause the integrated circuit to transition into an active state in which the first oscillator is enabled and the first circuit is configured to operate based on the configuration data applied from the plurality of configuration registers.
|