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

MPC82G516AD 参数 Datasheet PDF下载

MPC82G516AD图片预览
型号: MPC82G516AD
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-bit microcontroller]
分类和应用: 微控制器
文件页数/大小: 144 页 / 1527 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MPC82G516AD的Datasheet PDF文件第84页浏览型号MPC82G516AD的Datasheet PDF文件第85页浏览型号MPC82G516AD的Datasheet PDF文件第86页浏览型号MPC82G516AD的Datasheet PDF文件第87页浏览型号MPC82G516AD的Datasheet PDF文件第89页浏览型号MPC82G516AD的Datasheet PDF文件第90页浏览型号MPC82G516AD的Datasheet PDF文件第91页浏览型号MPC82G516AD的Datasheet PDF文件第92页  
18.4 WDT during Power-Down and Idle  
In Power-down mode the oscillator stops, which means the WDT also stops. While in Power-down mode the user  
does not need to service the WDT. There are 3 methods of exiting Power-down mode: by a hardware reset, via  
an external interrupt (/INT0~/INT3) or Keypad interrupt which is enabled prior to entering Power-down mode.  
When Power-down is exited with hardware reset, servicing the WDT should occur as it normally should whenever  
the device is reset. Exiting Power-down with an external interrupt or Keypad interrupt is significantly different.  
When the interrupt is serviced just after exiting the power-down, to prevent the WDT from resetting the device, it  
is suggested that the WDT counter should be cleared during the interrupt service routine.  
Of course, to ensure that the WDT does not overflow within a little time after exiting of power-down, it is better to  
clear the WDT counter just before entering power-down.  
In the Idle mode, the oscillator continues to run. The user may either set the WIDL bit to have WDT keep working  
or clear the WIDL bit to have WDT stop while the MCU is in the Idle mode. For the former case, to prevent the  
WDT from overflowing while in Idle mode, the user should always set up a timer that will periodically exit Idle,  
service the WDT, and re-enter Idle mode.  
18.5 WDT Initialized by Hardware Option  
Besides being initialized by software, the WDTCR register can also be automatically initialized at power-up by the  
hardware options HWENW, HWWIDL and HWPS[2:0], which should be programmed by a universal Writer or  
Programmer, as described below. (Refer to Section 25: MCU’s Hardware Option.)  
If HWENW is programmed to “enabled”, then hardware will automatically do the following initialization for the  
WDTCR register at power-up:  
(1) set ENW bit,  
(2) load HWWIDL into WIDL bit, and  
(3) load HWPS[2:0] into PS[2:0] bits.  
MEGAWIN  
MPC82G516A Data Sheet  
88  
 
 复制成功!