EasyManua.ls Logo

CMOSTEK CMT2380F17 - WDT Reset; Illegal Address 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 | 85/347
www.cmostek.com
Bit 1: BOF0, BOF0 (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 when VDD meets BOD0 monitored level. Writing “1” on this bit will clear
BOF0. If BO0RE (PCON2.1) is enabled, BOF0 indicates a BOD0 Reset occurred.
12.6 WDT Reset
When WDT is enabled to start the counter, WDTF will be set by WDT overflow. If WREN (WDTCR.7) is
enabled, the WDT overflow will trigger a system reset that causes CPU to restart. Software can read the
WDTF to recognize the WDT reset occurred.
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 0: WDTF, WDT Overflow/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 when WDT overflows. Writing “1” on this bit will clear WDTF. If WREN
(WDTCR.7) is set, WDTF indicates a WDT Reset occurred.
12.7 Illegal Address Reset
In CMT2380F17, if software program runs to illegal address such as over program ROM limitation, it
triggers a RESET to CPU.

Table of Contents