79
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
relevant data sheet.
Figure 4-2 Waveforms of power-on reset and power-down reset
Programmable voltage detector (PVD)
The PVD can be used to monitor the VDD/VDDA power supply by comparing with the thresholds set by the
PWR_CTRL.PRS[2:0] bits of the power supply control register.
The PWR_CTRLSTS.PVDO flag is used to indicate if VDD/VDDA is above/below the PVD voltage threshold. This
event is internally connected to the interrupt line 16 of the external interrupt, which will generate an interrupt if
enabled in the external interrupt register. Depending on the rising/falling edge trigger settings of the external interrupt
line 16, a PVD interrupt will occur when VDD/VDDA falls below the PVD threshold or VDD/VDDA rises above
the PVD threshold. For example, this feature can be used to perform emergency shutdown tasks.
Notice: MCU PVD threshold needs to be configured with the PWR_CTRL3.EXMODE bit. For details, please refer
to the registers PWR_CTRL.MSB and PWR_CTRL.PRS[2:0], their combination can form a 4-bit PVD threshold
configuration.
VDD/VDDA
POR(rising edge)
RESET
PDR(falling edge)
Temporization
t
RSTTEMPO
40mV hysteresis