h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 360

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 10 16-Bit Timer Pulse Unit (TPU)
Bit 7—Count Direction Flag (TCFD): Status flag that shows the direction in which TCNT
counts in channels 1, 2, 4, and 5.
In channels 0 and 3, bit 7 is reserved. It is always read as 1 and cannot be modified.
Bit 6—Reserved: It is always read as 1 and cannot be modified.
Bit 5—Underflow Flag (TCFU): Status flag that indicates that TCNT underflow has occurred
when channels 1, 2, 4, and 5 are set to phase counting mode.
In channels 0 and 3, bit 5 is reserved. It is always read as 0 and cannot be modified.
Bit 4—Overflow Flag (TCFV): Status flag that indicates that TCNT overflow has occurred.
Rev. 5.00 Sep 22, 2005 page 334 of 1136
REJ09B0257-0500
Bit 7
TCFD
0
1
Bit 5
TCFU
0
1
Bit 4
TCFV
0
1
Description
TCNT counts down
TCNT counts up
Description
[Clearing condition]
When 0 is written to TCFU after reading TCFU = 1
[Setting condition]
When the TCNT value underflows (changes from H'0000 to H'FFFF)
Description
[Clearing condition]
When 0 is written to TCFV after reading TCFV = 1
[Setting condition]
When the TCNT value overflows (changes from H'FFFF to H'0000 )
(Initial value)
(Initial value)
(Initial value)

Related parts for h8s-2646