поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

R8C13 датащи(PDF) 79 Page - Renesas Technology Corp

номер детали R8C13
подробное описание детали  16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY/R8C/Tiny SERIES
PDF  224 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  RENESAS [Renesas Technology Corp]
домашняя страница  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R8C13 датащи(HTML) 79 Page - Renesas Technology Corp

Back Button R8C13 Datasheet HTML 75Page - Renesas Technology Corp R8C13 Datasheet HTML 76Page - Renesas Technology Corp R8C13 Datasheet HTML 77Page - Renesas Technology Corp R8C13 Datasheet HTML 78Page - Renesas Technology Corp R8C13 Datasheet HTML 79Page - Renesas Technology Corp R8C13 Datasheet HTML 80Page - Renesas Technology Corp R8C13 Datasheet HTML 81Page - Renesas Technology Corp R8C13 Datasheet HTML 82Page - Renesas Technology Corp R8C13 Datasheet HTML 83Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 79 / 224 page
background image
Rev.1.20
Jan 27, 2006
page 68 of 205
REJ09B0111-0120
R8C/13 Group
11. Watchdog Timer
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.
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.
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



Html Pages

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  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com