Reset Control/Status Register (Rstcsr) - Hitachi H8S/2646 Hardware Manual

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

12.2.3

Reset Control/Status Register (RSTCSR)

Bit
:
7
WOVF
Initial value :
0
R/W
:
R/(W)*
Note: * Can only be written with 0 for flag clearing.
RSTCSR is an 8-bit readable/writable* register that controls the generation of the internal reset
signal when TCNT overflows, and selects the type of internal reset signal.
RSTCSR is initialized to H'1F by a reset signal from the RES pin, but not by the WDT internal
reset signal caused by overflows.
Note: * RSTCSR is write-protected by a password to prevent accidental overwriting. For details
see section 12.2.4, Notes on Register Access.
Bit 7—Watchdog Overflow Flag (WOVF): Indicates that TCNT has overflowed (changed from
H'FF to H'00) during watchdog timer operation. This bit is not set in interval timer mode.
Bit 7
WOVF
Description
0
[Clearing condition]
Cleared by reading TCSR when WOVF = 1, then writing 0 to WOVF
1
[Setting condition]
Set when TCNT overflows (changed from H'FF to H'00) during watchdog timer
operation
Bit 6—Reset Enable (RSTE): Specifies whether or not a reset signal is generated in the
H8S/2646 Series if TCNT overflows during watchdog timer operation.
Bit 6
RSTE
Description
0
Reset signal is not generated if TCNT overflows*
1
Reset signal is generated if TCNT overflows
Note: * The modules within the H8S/2646 Series are not reset, but TCNT and TCSR within the
WDT are reset.
Bit 5—Reserved: Always read as 0. Can only be written with 0.
Bits 4 to 0—Reserved: Always read as 1. Not writable.
422
6
5
RSTE
0
0
R/W
R/W
4
3
1
1
2
1
0
1
1
1
(Initial value)
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents