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

MPC82X54AT 参数 Datasheet PDF下载

MPC82X54AT图片预览
型号: MPC82X54AT
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-bit micro-controller]
分类和应用: 微控制器
文件页数/大小: 74 页 / 1587 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MPC82X54AT的Datasheet PDF文件第29页浏览型号MPC82X54AT的Datasheet PDF文件第30页浏览型号MPC82X54AT的Datasheet PDF文件第31页浏览型号MPC82X54AT的Datasheet PDF文件第32页浏览型号MPC82X54AT的Datasheet PDF文件第34页浏览型号MPC82X54AT的Datasheet PDF文件第35页浏览型号MPC82X54AT的Datasheet PDF文件第36页浏览型号MPC82X54AT的Datasheet PDF文件第37页  
Watch Dog Timer
The watch dog timer in MPC82x54A consists of an 8-bit pre-scalar timer and a 15-bit timer.
The timer is one-time enabled by setting ENW. Clearing ENW can not stop WDT counting.
When the WDT is enabled, software should always reset the timer by writing 1 to CLRW bit
before the WDT overflows. If MPC82x54A is out of control by any disturbance, that means the
CPU can not run the software normally then WDT may miss the “writing 1 to CLRW” and
overflow will come. WDT overflow reset the CPU to restart. Associated with the WDTCR
SFR, a NVM option register bytes named
OR3
are designed to enable WDT and initiate
WDTCR with initial states. See Option Register description to know in more details.
1/256
1/128
1/64
1/32
1/16
1/8
1/4
1/2
8-bit prescalar
15-bit timer
Fosc/12
IDLE
WRF
-
ENW
CLRW
WIDL
PS2
PS1
PS0
WDTCR Register
To make good use of the watch-dog-timer, the user should take notice on SFR
WDTCR.
SFR:
WDTCR
(WDT Control Register)
Bit-7
WRF
Bit-6
-
Bit-5
ENW
Bit-4
CLRW
Bit-3
WIDL
Bit-2
PS2
Bit-1
PS1
Bit-0
PS0
WRF: =
When WDT overflows, this bit is set. It can be cleared by software.
ENW: =
Control bit to enable Watch-Dog-Timer. (One-time enabled, can not be disabled)
0:=
(default)
Disable Watch Dog Timer
1:=
Enable Watch Dog Timer start counting
CLRW: =
Set this bit to recount WDT. Hardware will automatically clear this bit.
MEGAWIN
MPC82x54A Data Sheet
33