欢迎访问ic37.com |
会员登录 免费注册
发布采购

MPD789871 参数 Datasheet PDF下载

MPD789871图片预览
型号: MPD789871
PDF下载: 下载PDF文件 查看货源
内容描述: 8位单芯片微控制器 [8-Bit Single-Chip Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 321 页 / 1339 K
品牌: NEC [ NEC ]
 浏览型号MPD789871的Datasheet PDF文件第178页浏览型号MPD789871的Datasheet PDF文件第179页浏览型号MPD789871的Datasheet PDF文件第180页浏览型号MPD789871的Datasheet PDF文件第181页浏览型号MPD789871的Datasheet PDF文件第183页浏览型号MPD789871的Datasheet PDF文件第184页浏览型号MPD789871的Datasheet PDF文件第185页浏览型号MPD789871的Datasheet PDF文件第186页  
CHAPTER 9 WATCHDOG TIMER  
9.4.2 Operation as interval timer  
When bits 4 and 3 (WDTM4, WDTM3) of the watchdog timer mode register (WDTM) are set to 0 and 1,  
respectively, the watchdog timer operates as an interval timer that repeatedly generates an interrupt at intervals  
specified by a preset count value.  
Select a count clock (or interval) by setting bits 0 to 2 (WDCS0 to WDCS2) of the watchdog timer clock select  
register (WDCS). The watchdog timer starts operation as an interval timer when the RUN bit (bit 7 of WDTM) is set  
to 1.  
In interval timer mode, the interrupt mask flag (WDTMK) is valid, and a maskable interrupt (INTWDT) can be  
generated. The priority of INTWDT is set as the highest of all the maskable interrupts.  
The interval timer continues operation in HALT mode, but stops in STOP mode. Therefore, first set RUN to 1 to  
clear the interval timer before executing the STOP instruction.  
Cautions 1. Once bit 4 (WDTM4) of WDTM is set to 1 (when watchdog timer mode is selected), interval  
timer mode is not set unless the RESET signal is input.  
2. The interval time may be up to 0.8% shorter than the set time when WDTM has just been  
set.  
Table 9-5. Interval Time of Interval Timer  
WDCS2 WDCS1 WDCS0  
Interval  
At fX = 5.0 MHz  
410 µs  
0
0
1
1
0
1
0
1
0
0
0
0
2
2
2
2
11 × 1/fX  
13 × 1/fX  
15 × 1/fX  
17 × 1/fX  
1.64 ms  
6.55 ms  
26.2 ms  
fX: Main system clock oscillation frequency  
User’s Manual U15075EJ1V0UM00  
182  
 复制成功!