337
12.1.4Register Configuration
Table 12.2 summarizes the three WDT registers. They are used to select the clock, switch the
WDT mode, and control the reset signal.
Table 12.2
WDT Registers
Initial
Address
*
4
Name
Abbreviation R/W
Value
Write
*
1
Read
*
2
Timer control/status register
TCSR
R/(W)
*
3
H'18
H'5FFFFB8
H'5FFFFB8
Timer counter
TCNT
R/W
H'00
H'5FFFFB9
Reset control/status register
RSTCSR
R/(W)
*
3
H'1F
H'5FFFFBA
H'5FFFFBB
Notes:
*
1 Write by word transfer. A byte or longword write cannot be used.
*
2 Read by byte transfer. The correct value cannot be obtained by a word or longword
read.
*
3 Only 0 can be written in bit 7, to clear the flag.
*
4 Only the values of bits A27–A24 and A8–A0 are valid; bits A23–A9 are ignored. For
details on the register addresses, see section 8.3.5, Area Descriptions
12.2
Register Descriptions
12.2.1
Timer Counter (TCNT)
TCNT is an eight-bit readable and writable up-counter. TCNT differs from other registers in that it
is more difficult to write. See section 12.2.4, Notes on Register Access, for details. When the timer
enable bit (TME) in the timer control/status register (TCSR) is set to 1, the timer counter starts
counting pulses of an internal clock source selected by clock select bits 2–0 (CKS2–CKS0) in
TCSR. When the value of TCNT overflows (changes from H'FF to H'00), a watchdog timer
overflow signal (
WDTOVF
) or interval timer interrupt (ITI) is generated, depending on the mode
selected with the WT/
IT
bit in TCSR. TCNT is initialized to H'00 by a reset and when the TME
bit is cleared to 0. It is not initialized in standby mode.
Bit:
7
6
5
4
3
2
1
0
Bit name:
Initial value:
0
0
0
0
0
0
0
0
R/W:
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Содержание HD6417032
Страница 21: ......
Страница 35: ...xiv ...
Страница 85: ...50 ...
Страница 101: ...66 ...
Страница 129: ...94 ...
Страница 135: ...100 ...
Страница 343: ...308 ...
Страница 369: ...334 ...
Страница 383: ...348 ...
Страница 475: ...440 ...
Страница 525: ...490 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 18 Self Refresh ...
Страница 578: ...543 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 62 Self Refresh ...
Страница 689: ...654 ...