|
HD6432345 Datasheet, PDF (330/907 Pages) Hitachi Semiconductor – H8S/2345 F-ZTAT Hardware Manual | |||
|
◁ |
9.2.5 Timer Status Register (TSR)
Channel 0: TSR0
Channel 3: TSR3
Bit
:
7
6
5
4
â
â
â
TCFV
Initial value :
1
1
0
0
R/W
:
â
â
â R/(W)*
Note: * Can only be written with 0 for flag clearing.
3
TGFD
0
R/(W)*
2
TGFC
0
R/(W)*
1
TGFB
0
R/(W)*
0
TGFA
0
R/(W)*
Channel 1: TSR1
Channel 2: TSR2
Channel 4: TSR4
Channel 5: TSR5
Bit
:
7
6
5
4
3
TCFD
â
TCFU TCFV
â
Initial value :
1
1
0
0
0
R/W
:
R
â R/(W)* R/(W)* â
Note: * Can only be written with 0 for flag clearing.
2
1
0
â
TGFB TGFA
0
0
0
â R/(W)* R/(W)*
The TSR registers are 8-bit registers that indicate the status of each channel. The TPU has six TSR
registers, one for each channel. The TSR registers are initialized to H'C0 by a reset, and in
hardware standby mode.
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 7
TCFD
0
1
Description
TCNT counts down
TCNT counts up
(Initial value)
Bit 6âReserved: Read-only bit, always read as 1.
313
|
▷ |