Hitachi H8/3637 Hardware Manual page 176

H8/3637 series
Table of Contents

Advertisement

Bits 2 to 0—Clock Select L (CKSL2 to CKSL0): Bits 2 to 0 select the input to TCFL from four
internal clock signals or external event input.
Bit 2: CKSL2
Bit 1: CKSL1
0
*
1
0
1
*: Don't care
Note: The edge of the external event signal is selected by bit IEG3 in the IRQ edge select register
(IEGR). See 3.3.2, Interrupt Control Registers, for details on the IRQ edge select register.
Note that switching the TMIF pin function by changing bit IRQ3 in port mode register 1
(PMR1) from 0 to 1 or from 1 to 0 while the TMIF pin is at the low level may cause the timer
F counter to be incremented.
Timer Control/Status Register F (TCSRF)
Bit
OVFH
Initial value
Read/Write
R/W
TCSRF is an 8-bit read/write register. It is used for counter clear selection, overflow and compare
match indication, and enabling of interrupts caused by timer overflow.
Upon reset, TCSRF is initialized to H'00.
Bit 7—Timer Overflow Flag H (OVFH): Bit 7 is a status flag indicating TCFH overflow (H'FF
to H'00). This flag is set by hardware and cleared by software. It cannot be set by software.
Bit 7: OVFH
0
1
Bit 0: CKSL0
*
0
1
0
1
7
6
CMFH
OVIEH
0
0
R/W
R/W
Description
[Clearing conditions]
After reading OVFH = 1, cleared by writing 0 to OVFH
[Setting conditions]
Set when the value of TCFH goes from H'FF to H'00
Description
External event (TMIF). Rising or falling edge
is counted (see note).
Internal clock: ø/32
Internal clock: ø/16
Internal clock: ø/4
Internal clock: ø/2
5
4
CCLRH
OVFL
0
0
R/W
R/W
3
2
CMFL
OVIEL
0
0
R/W
R/W
(initial value)
1
0
CCLRL
0
0
R/W
(initial value)
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3635H8/3636

Table of Contents