English
Language : 

C8051F99X_10 Datasheet, PDF (181/322 Pages) Silicon Laboratories – Ultra Low Power, 8-2 kB Flash, Capacitive Sensing MCU
C8051F99x-C8051F98x
is enabled and selected as a reset source. The enable state of the VDD supply monitor and its selection as
a reset source is only altered by power-on and power-fail resets. For example, if the VDD supply monitor is
de-selected as a reset source and disabled by software, then a software reset is performed, the VDD
supply monitor will remain disabled and de-selected after the reset.
In battery-operated systems, the contents of RAM can be preserved near the end of the battery’s usable
life if the device is placed in Sleep Mode prior to a power-fail reset occurring. When the device is in Sleep
Mode, the power-fail reset is automatically disabled and the contents of RAM are preserved as long as
VDD does not fall below VPOR. A large capacitor can be used to hold the power supply voltage above VPOR
while the user is replacing the battery. Upon waking from Sleep mode, the enable and reset source select
state of the VDD supply monitor are restored to the value last set by the user.
To allow software early notification that a power failure is about to occur, the VDDOK bit is cleared when
the VDD supply falls below the VWARN threshold. The VDDOK bit can be configured to generate an
interrupt. See Section “13. Interrupt Handler” on page 137 for more details.
Important Note: To protect the integrity of Flash contents, the VDD supply monitor must be enabled
and selected as a reset source if software contains routines which erase or write Flash memory. If
the VDD supply monitor is not enabled, any erase or write performed on Flash memory will cause a Flash
Error device reset.
Important Notes:
 The Power-on Reset (POR) delay is not incurred after a VDD supply monitor reset. See Section
“4. Electrical Characteristics” on page 46 for complete electrical characteristics of the VDD monitor.
 Software should take care not to inadvertently disable the VDD Monitor as a reset source when writing
to RSTSRC to enable other reset sources or to trigger a software reset. All writes to RSTSRC should
explicitly set PORSF to 1 to keep the VDD Monitor enabled as a reset source.
 The VDD supply monitor must be enabled before selecting it as a reset source. Selecting the VDD
supply monitor as a reset source before it has stabilized may generate a system reset. In systems
where this reset would be undesirable, a delay should be introduced between enabling the VDD supply
monitor and selecting it as a reset source. See Section “4. Electrical Characteristics” on page 46 for
minimum VDD Supply Monitor turn-on time. No delay should be introduced in systems where
software contains routines that erase or write Flash memory. The procedure for enabling the VDD
supply monitor and selecting it as a reset source is shown below:
1. Enable the VDD Supply Monitor (VDMEN bit in VDM0CN = 1).
2. Wait for the VDD Supply Monitor to stabilize (optional).
3. Select the VDD Supply Monitor as a reset source (PORSF bit in RSTSRC = 1).
Rev. 1.0
181