參數(shù)資料
型號(hào): M306N5MCT-XXXGP
元件分類(lèi): 微控制器/微處理器
英文描述: 16-BIT, MROM, 20 MHz, MICROCONTROLLER, PQFP100
封裝: 14 X 14 MM, 0.50 MM PITCH, PLASTIC, LQFP-100
文件頁(yè)數(shù): 25/63頁(yè)
文件大?。?/td> 825K
代理商: M306N5MCT-XXXGP
Watchdog Timer
Mitsubishi microcomputers
M16C / 62A Group (80-pin)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
56
Watchdog Timer
The watchdog timer has the function of detecting when the program is out of control. The watchdog timer is
a 15-bit counter which down-counts the clock derived by dividing the BCLK using the prescaler. A watchdog
timer interrupt is generated when an underflow occurs in the watchdog timer. When XIN is selected for the
BCLK
, bit 7 of the watchdog timer control register (address 000F16) selects the prescaler division ratio (by
16 or by 128). When XCIN is selected as the BCLK, the prescaler is set for division by 2 regardless of bit 7
of the watchdog timer control register (address 000F16). Thus the watchdog timer's period can be calcu-
lated as given below. The watchdog timer's period is, however, subject to an error due to the pre-scaler.
BCLK
Write to the watchdog timer
start register
(address 000E16)
RESET
Watchdog timer
interrupt request
Watchdog timer
Set to
“7FFF16
1/128
1/16
“CM07 = 0”
“WDC7 = 1”
“CM07 = 0”
“WDC7 = 0”
“CM07 = 1”
1/2
Prescaler
For example, suppose that BCLK runs at 16 MHz and that 16 has been chosen for the dividing ratio of the
pre-scaler, then the watchdog timer's period becomes approximately 32.8 ms.
The watchdog timer is initialized by writing to the watchdog timer start register (address 000E16) and when
a watchdog timer interrupt request is generated. The prescaler is initialized only when the microcomputer is
reset. After a reset is cancelled, the watchdog timer and prescaler are both stopped. The count is started by
writing to the watchdog timer start register (address 000E16).
Figure 1.11.1 shows the block diagram of the watchdog timer. Figure 1.11.2 shows the watchdog timer-
related registers.
With XIN chosen for BCLK
Watchdog timer period =
pre-scaler dividing ratio (16 or 128) X watchdog timer count (32768)
BCLK
Figure 1.11.1. Block diagram of watchdog timer
With XCIN chosen for BCLK
Watchdog timer period =
pre-scaler dividing ratio (2) X watchdog timer count (32768)
BCLK
相關(guān)PDF資料
PDF描述
M306V0ME-XXXFP 16-BIT, MROM, MICROCONTROLLER, PQFP100
M306V0EEFP 16-BIT, OTPROM, MICROCONTROLLER, PQFP100
M306V2ME-XXXFP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP100
M306V2EEFP 16-BIT, OTPROM, 10 MHz, MICROCONTROLLER, PQFP100
M306V2EEFS 16-BIT, UVPROM, 10 MHz, MICROCONTROLLER, CQCC100
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M306N5MCV-XXXFP 制造商:RENESAS 制造商全稱(chēng):Renesas Technology Corp 功能描述:Renesas MCU
M306N5MCV-XXXGP 制造商:RENESAS 制造商全稱(chēng):Renesas Technology Corp 功能描述:Renesas MCU
M306N5MC-XXXGP 制造商:RENESAS 制造商全稱(chēng):Renesas Technology Corp 功能描述:Renesas MCU
M306NKFHGP 制造商:RENESAS 制造商全稱(chēng):Renesas Technology Corp 功能描述:Renesas MCU
M306NKFHGP#U3 功能描述:IC M16C MCU FLASH 384K 100LQFP RoHS:是 類(lèi)別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:M16C™ M16C/60/6NK 標(biāo)準(zhǔn)包裝:1 系列:AVR® ATmega 核心處理器:AVR 芯體尺寸:8-位 速度:16MHz 連通性:I²C,SPI,UART/USART 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,POR,PWM,WDT 輸入/輸出數(shù):32 程序存儲(chǔ)器容量:32KB(16K x 16) 程序存儲(chǔ)器類(lèi)型:閃存 EEPROM 大小:1K x 8 RAM 容量:2K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:44-TQFP 包裝:剪切帶 (CT) 其它名稱(chēng):ATMEGA324P-B15AZCT