EasyManua.ls Logo

Hitachi H8/500 Series - Page 253

Hitachi H8/500 Series
459 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Bit 7—Overflow Flag (OVF): This bit indicates that the watchdog timer count has overflowed.
Bit 7
OVF Description
0 This bit is cleared to from 1 to 0 when the CPU reads (Initial value)
the OVF bit, then writes a 0 in this bit.
1 This bit is set to 1 when TCNT changes from H'FF to H'00.
Bit 6—Timer Mode Select (WT/IT): This bit selects whether to operate in the watchdog timer
mode or interval timer mode.
Bit 6
WT/IT Description
0 Interval timer mode (IRQ
0 request) (Initial value)
1 Watchdog timer mode (NMI request)
Bit 5—Timer Enable (TME): This bit enables or disables the timer.
Bit 5
TME Description
0 TCNT is initialized to H'00 and stopped. (Initial value)
1 TCNT runs. An interrupt is requested when the count overflows.
Bits 4 and 3—Reserved: These bits cannot be modified and are always read as 1.
Bits 2, 1, and 0—Clock Select (CKS2, CKS1, and CKS0): These bits select one of eight clock
sources obtained by dividing the system clock (ø).
The overflow interval listed in the table below is the time from when the watchdog timer counter
begins counting from H'00 until an overflow occurs.
In the interval timer mode, IRQ0 interrupts are requested at this interval.
238
Downloaded from Elcodis.com electronic components distributor

Table of Contents

Related product manuals