CMT2380F17
Rev0.1 | 78/347
www.cmostek.com
If both of HWENW and WDSFWP are programmed to “enabled”, hardware still initializes the WDTCR
register content by WDT hardware option at power-up. Then, any CPU writing on WDTCR bits will be inhibited
excep
t writing “1” on WDTCR.4 (CLRW), clear WDT, even though access through Page-P SFR mechanism.
WRENO:
: Enabled. Set WDTCR.WREN to enable a system reset function by WDTF.
: Disabled. Clear WDTCR.WREN to disable the system reset function by WDTF.
NSWDT:
Non-Stopped WDT
: Enabled. Set WDTCR.NSW to enable the WDT running in power down mode (watch mode).
: Disabled. Clear WDTCR.NSW to disable the WDT running in power down mode (disable Watch
mode).
HWENW
: Hardware loaded for
“ENW” of WDTCR.
: Enabled. Enable WDT and load the content of WRENO, NSWDT, HWWIDL and
HWPS2~0 to WDTCR after power-on.
: Disabled. WDT is not enabled automatically after power-on.
HWWIDL, HWPS2, HWPS1, HWPS0:
When HWENW is enabled, the content on these four fused bits will be loaded to WDTCR SFR after
power-on.
WDSFWP:
: Enabled. The WDT SFRs, WREN, NSW, WIDL, PS2, PS1 and PS0 in WDTCR, will be
write-protected.
: Disabled. The WDT SFRs, WREN, NSW, WIDL, PS2, PS1 and PS0 in WDTCR, are free for
writing of software.
11 Real-Time-Clock (RTC)/System-Timer
The CMT2380F17 has a simple Real-Time clock that allows a user to continue running an accurate timer
while the rest of the device is powered-down. The Real-Time clock can be a wake-up or an interrupt source.
The Real-Time clock is a maximum 21-bit up counter comprised of a 0~15-bit prescaler and a 6-bit loadable
up counter. When it overflows, the 6-bit counter will be reloaded again and the RTCF flag will be set. The
clock source for this prescaler has 6 selections, and needs to set RCSS[2:0] to select one of source before
enable WDT. Figure 11
–1 shows the RTC structure in CMT2380F17.
To input 32.768 KHz from ECKI for the RTC module input will provide a programmable overflow period for
0.5S to 64S. The counter also provides a timer function with the clock derived from SYSCLK for a system
timer function. The maximum overflow period for the system timer function is SYSCLK/2^21. The ILRCO
provides the internal clock source for RTC module. The WDTPS and WDTOF come from WDT prescaler and
WDT overflow to provide the extended prescaler source for more long wake-up time requirement. The RCT
clock source must be configured before RTCE enabled.
RTCO enables the RTC overflow output on port pin. Only power-on reset will reset the Real-Time clock
and its associated SFRs to the default state.
Содержание CMT2380F17
Страница 27: ...CMT2380F17 Rev0 1 27 347 www cmostek com 1 25 Phase Noise...
Страница 111: ...CMT2380F17 Rev0 1 111 347 www cmostek com INT2IS 1 0 Selected Port Pin of nINT2 00 P4 4 01 P3 0 10 P1 1 11 P1 6...
Страница 131: ...CMT2380F17 Rev0 1 131 347 www cmostek com Figure 16 1 Timer 0 Mode 0 Structure Figure15 2 Timer 1 Mode 0 Structure...
Страница 161: ...CMT2380F17 Rev0 1 161 347 www cmostek com Figure 16 32 Split Timer 3 Mode 1 Structure AR with Ex INT...
Страница 177: ...CMT2380F17 Rev0 1 177 347 www cmostek com Figure 17 3 PCA Interrupt System...
Страница 239: ...CMT2380F17 Rev0 1 239 347 www cmostek com Figure 19 5 8 bit Timer Mode Configuration for S1BRG S1TME 1...
Страница 246: ...CMT2380F17 Rev0 1 246 347 www cmostek com SnMIPS S0MI S1MI 1 P3 3 P4 7...
Страница 289: ...CMT2380F17 Rev0 1 289 347 www cmostek com...