Watchdog Timer Control/Status Register (Wtcsr) - Hitachi SH7750 Hardware Manual

Sh7750 series superh risc engine
Hide thumbs Also See for SH7750:
Table of Contents

Advertisement

10.8.2

Watchdog Timer Control/Status Register (WTCSR)

The watchdog timer control/status register (WTCSR) is an 8-bit readable/writable register
containing bits for selecting the count clock and timer mode, and overflow flags.
WTCSR is initialized to H'00 only by a power-on reset via the RESET pin. It retains its value in
an internal reset due to WDT overflow. When used to count the clock stabilization time when
exiting standby mode, WTCSR retains its value after the counter overflows.
To write to the WTCSR register, use a word-size access with the upper byte set to H'A5. To read
WTCSR, use a byte-size access.
Bit:
Initial value:
R/W:
Bit 7—Timer Enable (TME): Specifies starting and stopping of timer operation. Clear this bit to
0 when using the WDT in standby mode or to change a clock frequency.
Bit 7: TME
0
1
Bit 6—Timer Mode Select (WT/IT IT IT IT): Specifies whether the WDT is used as a watchdog timer or
interval timer.
Bit 6: WT/IT IT IT IT
0
1
Note: The up-count may not be performed correctly if WT/IT is modified while the WDT is running.
Bit 5—Reset Select (RSTS): Specifies the kind of reset to be performed when WTCNT
overflows in watchdog timer mode. This setting is ignored in interval timer mode.
Bit 5: RSTS
0
1
7
6
TME
WT/IT
RSTS
0
0
R/W
R/W
R/W
Description
Up-count stopped, WTCNT value retained
Up-count started
Description
Interval timer mode
Watchdog timer mode
Description
Power-on reset
Manual reset
5
4
3
WOVF
IOVF
0
0
0
R/W
R/W
2
1
CKS2
CKS1
0
0
R/W
R/W
(Initial value)
(Initial value)
(Initial value)
Rev. 6.0, 07/02, page 261 of 986
0
CKS0
0
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7750rSh7750s

Table of Contents