H8S-2350 RENESAS [Renesas Technology Corp], H8S-2350 Datasheet - Page 966

no-image

H8S-2350

Manufacturer Part Number
H8S-2350
Description
16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Appendix B Internal I/O Register
TSR2—Timer Status Register 2
Rev. 3.00 Sep 15, 2006 page 932 of 988
REJ09B0330-0300
Bit
Initial value
Read/Write
Note: * Can only be written with 0 for flag clearing.
:
:
:
Count Direction Flag
TCFD
0
1
R
7
1
TCNT counts down
TCNT counts up
6
1
Underflow Flag
R/(W) *
TCFU
0
1
5
0
[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)
Overflow Flag
R/(W) *
TCFV
0
1
4
0
[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 )
3
0
2
0
R/(W) *
Input Capture/Output Compare Flag B
TGFB
H'FFF5
0
1
1
0
[Clearing conditions]
• When DTC is activated by TGIB interrupt while
• When 0 is written to TGFB after reading TGFB = 1
[Setting conditions]
• When TCNT = TGRB while TGRB is functioning as
• When TCNT value is transferred to TGRB by input
Input Capture/Output Compare Flag A
DISEL bit of MRB in DTC is 0
output compare register
capture signal while TGRB is functioning as input
capture register
0
1
R/(W) *
TGFA
0
0
[Clearing conditions]
• When DTC is activated by TGIA interrupt
• When DMAC is activated by TGIA interrupt
• When 0 is written to TGFA after reading
[Setting conditions]
• When TCNT = TGRA while TGRA is
• When TCNT value is transferred to TGRA by
while DISEL bit of MRB in DTC is 0
while DTA bit of DMABCR in DMAC is 1
TGFA = 1
functioning as output compare register
input capture signal while TGRA is functioning
as input capture register
TPU2

Related parts for H8S-2350