HD6417615AF60 HITACHI [Hitachi Semiconductor], HD6417615AF60 Datasheet - Page 674

no-image

HD6417615AF60

Manufacturer Part Number
HD6417615AF60
Description
CMOS single-chip microcontroller
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet
16.2.5
Channel 0: TSR0
Note: * Only 0 can be written, to clear the flags.
Channel 1: TSR1
Channel 2: TSR2
Note: * Only 0 can be written, to clear the flags.
The TSR registers are 8-bit registers that indicate the status of each channel. The TPU has three
TSR registers, one for each channel. The TSR registers are initialized to H'C0 by a reset.
Bit 7—Count Direction Flag (TCFD): Status flag that shows the direction in which TCNT counts
in channels 1, and 2.
In channel 0, bit 7 is reserved. It is always read as 1 and cannot be modified.
Bit 7: TCFD
0
1
Bit 6—Reserved: Read-only bit, always read as 1.
662
Initial value:
Initial value:
Timer Status Register (TSR)
R/W:
R/W:
Bit:
Bit:
Description
TCNT counts down
TCNT counts up
TCFD
7
1
R
7
1
R
6
1
R
6
1
R
R/(W)*
TCFU
5
0
R
5
0
R/(W)*
R/(W)*
TCFV
TCFV
4
0
4
0
R/(W)*
TGFD
3
0
3
0
R
R/(W)*
TGFC
2
0
2
0
R
R/(W)*
R/(W)*
TGFB
TGFB
1
0
1
0
(Initial value)
R/(W)*
R/(W)*
TGFA
TGFA
0
0
0
0

Related parts for HD6417615AF60