h8s2277 Renesas Electronics Corporation., h8s2277 Datasheet - Page 297

no-image

h8s2277

Manufacturer Part Number
h8s2277
Description
Hitachi Single-chip Microcomputer H8s/2276 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Bit 0—TGR Interrupt Enable A (TGIEA): Enables or disables interrupt requests (TGIA) by the
TGFA bit when the TGFA bit in TSR is set to 1.
Bit 0
TGIEA
0
1
10.2.5
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, and in
hardware standby mode.
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
Channel 0: TSR0
Bit
Initial value
R/W
Channel 1: TSR1
Channel 2: TSR2
Bit
Initial value
R/W
Note: * Can only be written with 0 for flag clearing.
Timer Status Register (TSR)
Description
Interrupt requests (TGIA) by TGFA bit disabled
Interrupt requests (TGIA) by TGFA bit enabled
Description
TCNT counts down
TCNT counts up
:
:
:
:
:
:
TCFD
R
7
1
7
1
6
1
6
1
R/(W) *
TCFU
5
0
5
0
R/(W) *
R/(W) *
TCFV
TCFV
4
0
4
0
R/(W) *
TGFD
3
0
3
0
R/(W) *
TGFC
2
0
2
0
R/(W) *
R/(W) *
TGFB
TGFB
1
0
1
0
(Initial value)
(Initial value)
R/(W) *
R/(W) *
TGFA
TGFA
0
0
0
0
275

Related parts for h8s2277