CMT2380F17
Rev0.1 | 83/347
PCON0: Power Control Register 0
SFR Page = 0~F & P
SFR Address = 0x87 POR = 0001-0000, 复位值= 000X-0000
Bit 4: POF0, Power-On Flag 0.
0: The flag must be cleared by software to recognize next reset type.
1: Set by hardware when VDD rises from 0 to its nominal voltage. POF0 can also be set by software.
The Power-on Flag, POF0, is set to “1” by hardware during power up or when VDD power drops below
the POR voltage. It can be clear by firmware and is not affected by any warm reset such as external reset,
Brown-Out reset, software reset (ISPCR.5) and WDT reset. It helps users to check if the running of the
CPU begins from power up or not. Note that the POF0 must be cleared by firmware.
Note: POF0 must be cleared by software.
12.3 External Reset
A reset is accomplished by holding the RESET pin HIGH for a period of high time, please reference “33.3
External Reset Characteristics”. To ensure a reliable power-up reset, the hardware reset from RST pin is
necessary.
PCON1: Power Control Register 1
SFR Page = 0~F & P
SFR Address = 0x97
Bit 6: EXRF, External Reset Flag.
0: This bit must be cleared by software writing “1” on it. Software writing “0” is no operation.
1: This bit is only set by hardware if an External Reset occurs. Writing “1” on this bit will clear EXRF.