參數(shù)資料
型號(hào): R5F21122DFP
元件分類: 微控制器/微處理器
英文描述: 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP32
封裝: 7 X 7 MM, 0.80 MM PITCH, PLASTIC, LQFP-32
文件頁數(shù): 159/198頁
文件大?。?/td> 1809K
代理商: R5F21122DFP
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁當(dāng)前第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁
R8C/12 Group
11. Watchdog Timer
Rev.1.20
Jan 27, 2006
page 53 of 181
REJ09B0110-0120
11. Watchdog Timer
The watchdog timer is the function of detecting when the program is out of control. Therefore, we recom-
mend using the watchdog timer to improve reliability of a system. Figure 11.1 shows the watchdog timer
block diagram. The watchdog timer contains a 15-bit counter which counts down the clock derived by
dividing the CPU clock using the prescaler. Whether to generate a watchdog timer interrupt request or
apply a watchdog timer reset as an operation to be performed when the watchdog timer underflows after
reaching the terminal count can be selected using the PM12 bit in the PM1 register. The PM12 bit can
only be set to “1” (reset). Once this bit is set to “1”, it cannot be set to “0” (watchdog timer interrupt) in a
program. Refer to Section 5.3, “Watchdog Timer Reset” for details.
The divide-by-N value for the prescaler can be chosen to be 16 or 128 with the WDC7 bit in the WDC
register. The period of watchdog timer can be calculated as given below. The period of watchdog timer is,
however, subject to an error due to the prescaler.
Prescaler dividing (16 or 128) X Watchdog timer count (32768)
CPU clock
Watchdog timer period =
Write to WDTR register
Internal
reset signal
PM12 = 0
Watchdog timer
Set to
“7FFF16
CPU clock
1/128
1/16
WDC7 = 1
WDC7 = 0
Prescaler
PM12 = 1
Watchdog timer
interrupt request
Watchdog
timer Reset
Figure 11.1 Watchdog Timer Block Diagram
For example, when CPU clock = 16 MHz and the divide-by-N value for the prescaler= 16, the watchdog
timer period is approx. 32.8 ms.
Figure 11.2 shows the OFS, the WDC, the WDTR and the WDTS registers. The watchdog timer opera-
tion after reset can be selected using the WDTON bit in the option function select register (0FFFF16
address).
When the WDTON bit is “0” (the watchdog timer is started automatically after reset), the watchdog
timer and the prescaler both start counting automatically after reset.
When the WDTON bit is “1” (the watchdog timer is inactive after reset), the watchdog timer and the
prescaler both are inactive after reset, so that the watchdog timer is activated to start counting by
writing to the WDTS register.
The WDTON bit can not be changed in a program. When setting the WDTON bit, write “0” into bit 0 of
0FFFF16 address using a flash writer. The watchdog timer is nitialized by writing to the WDTR register
and the counting continues.
In stop mode and wait mode, the watchdog timer and the prescaler are stopped. Counting is resumed
from the held value when the modes or state are released.
相關(guān)PDF資料
PDF描述
R5F21123DFP 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP32
R5F21123FP 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP32
R5F21152SP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDSO20
R5F21152DSP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDSO20
R5F21143DSP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDSO20
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
R5F21122DFP#U0 制造商:Renesas Electronics Corporation 功能描述:MCU 16-Bit R8C CISC 8KB Flash 3.3V/5V 32-Pin LQFP Tray 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 8KB FLASH 3.3V/5V 32LQFP - Trays 制造商:Renesas Electronics Corporation 功能描述:IC MCU 16BIT 8KB FLASH 32LQFP
R5F21122DFP#V0 功能描述:IC R8C MCU FLASH 8K 32LQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:R8C/1x/12 其它有關(guān)文件:STM32F101T8 View All Specifications 特色產(chǎn)品:STM32 32-bit Cortex MCUs 標(biāo)準(zhǔn)包裝:490 系列:STM32 F1 核心處理器:ARM? Cortex?-M3 芯體尺寸:32-位 速度:36MHz 連通性:I²C,IrDA,LIN,SPI,UART/USART 外圍設(shè)備:DMA,PDR,POR,PVD,PWM,溫度傳感器,WDT 輸入/輸出數(shù):26 程序存儲(chǔ)器容量:64KB(64K x 8) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:10K x 8 電壓 - 電源 (Vcc/Vdd):2 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 10x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:36-VFQFN,36-VFQFPN 包裝:托盤 配用:497-10030-ND - STARTER KIT FOR STM32497-8853-ND - BOARD DEMO STM32 UNIV USB-UUSCIKSDKSTM32-PL-ND - KIT IAR KICKSTART STM32 CORTEXM3497-8512-ND - KIT STARTER FOR STM32F10XE MCU497-8505-ND - KIT STARTER FOR STM32F10XE MCU497-8304-ND - KIT STM32 MOTOR DRIVER BLDC497-6438-ND - BOARD EVALUTION FOR STM32 512K497-6289-ND - KIT PERFORMANCE STICK FOR STM32MCBSTM32UME-ND - BOARD EVAL MCBSTM32 + ULINK-MEMCBSTM32U-ND - BOARD EVAL MCBSTM32 + ULINK2更多... 其它名稱:497-9032STM32F101T8U6-ND
R5F21122FP 制造商:Renesas Electronics Corporation 功能描述:16BIT MCU FLASH SMD 21122 LQFP32
R5F21122FP#U0 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 8KB FLASH 3.3V/5V 32LQFP - Trays 制造商:Renesas Electronics Corporation 功能描述:IC MCU 16BIT 8KB FLASH 32LQFP
R5F21122FP#V0 功能描述:IC R8C MCU FLASH 8K 32LQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:R8C/1x/12 標(biāo)準(zhǔn)包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設(shè)備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)