EasyManua.ls Logo

CMOSTEK CMT2380F17 - External Reset

Default Icon
347 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CMT2380F17
Rev0.1 | 83/347
www.cmostek.com
PCON0: Power Control Register 0
SFR Page = 0~F & P
SFR Address = 0x87 POR = 0001-0000, 复位值= 000X-0000
Bit
7
6
5
4
3
2
1
0
Name
SMOD[1:0]
GF
POF0
GF[1:0]
PD
IDL
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
0
0
0
1
0
0
0
0
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
7
6
5
4
3
2
1
0
Name
SWRF
EXRF
--
RTCF
--
BOF1
BOF0
WDTF
R/W
R/W
R/W
R/W
R/W
W
R/W
R/W
R/W
Reset Value
0
0
0
0
X
0
0
0
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.

Table of Contents