Rev. 5.00, 09/03, page 215 of 760
9.7
WDT Registers
9.7.1
Watchdog Timer Counter (WTCNT)
The watchdog timer counter (WTCNT) is an 8-bit readable/writable counter that increments on the
selected clock. WTCNT differs from other registers in that it is more difficult to write to. See
section 9.7.3, Notes on Register Access, for details. When an overflow occurs, it generates a reset
in watchdog timer mode and an interrupt in interval time mode. Its address is H'FFFFFF84. The
WTCNT counter is initialized to H'00 only by a power-on reset through the
RESETP
pin. Use
word access to write to the WTCNT counter, with H'5A in the upper byte. Use byte access to read
WTCNT.
Bit:
7
6
5
4
3
2
1
0
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
9.7.2
Watchdog Timer Control/Status Register (WTCSR)
The watchdog timer control/status register (WTCSR) is an 8-bit readable/writable register
composed of bits to select the clock used for the count, bits to select the timer mode, and overflow
flags. WTCSR differs from other registers in that it is more difficult to write to. See section 9.7.3,
Notes on Register Access, for details. Its address is H'FFFFFF86. The WTCSR register is
initialized to H'00 only by a power-on reset through the
RESETP
pin. When a WDT overflow
causes an internal reset, WTCSR retains its value. When used to count the clock settling time for
canceling a standby, it retains its value after counter overflow. Use word access to write to the
WTCSR counter, with H'A5 in the upper byte. Use byte access to read WTCSR.
Bit:
7
6
5
4
3
2
1
0
TME
WT/
IT
RSTS
WOVF
IOVF
CKS2
CKS1
CKS0
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
Bit 7—Timer Enable (TME): Starts and stops timer operation. Clear this bit to 0 when using the
WDT in standby mode or when changing the clock frequency.
Bit 7: TME
Description
0
Timer disabled: Count-up stops and WTCNT value is retained
(Initial value)
1
Timer enabled
Содержание SH7709S
Страница 2: ......
Страница 44: ...Rev 5 00 09 03 page xliv of xliv ...
Страница 62: ...Rev 5 00 09 03 page 18 of 760 ...
Страница 128: ...Rev 5 00 09 03 page 84 of 760 ...
Страница 146: ...Rev 5 00 09 03 page 102 of 760 ...
Страница 224: ...Rev 5 00 09 03 page 180 of 760 ...
Страница 246: ...Rev 5 00 09 03 page 202 of 760 ...
Страница 266: ...Rev 5 00 09 03 page 222 of 760 ...
Страница 370: ...Rev 5 00 09 03 page 326 of 760 ...
Страница 432: ...Rev 5 00 09 03 page 388 of 760 ...
Страница 532: ...Rev 5 00 09 03 page 488 of 760 ...
Страница 598: ...Rev 5 00 09 03 page 554 of 760 ...
Страница 630: ...Rev 5 00 09 03 page 586 of 760 ...
Страница 656: ...Rev 5 00 09 03 page 612 of 760 ...
Страница 684: ...Rev 5 00 09 03 page 640 of 760 ...
Страница 700: ...Rev 5 00 09 03 page 656 of 760 ...
Страница 758: ...Rev 5 00 09 03 page 714 of 760 ...
Страница 807: ...SH7709S Group Hardware Manual REJ09B0081 0500O ADE 602 250C ...