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

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
Appendix B Internal I/O Register
TSR2—Timer Status Register 2
Rev. 5.00 Sep 22, 2005 page 1044 of 1136
REJ09B0257-0500
Note: * Can only be written with 0 for flag clearing.
Bit
Initial value
Read/Write
Count Direction Flag
0
1
TCNT counts down
TCNT counts up
Underflow Flag
TCFD
0
1
R
7
1
[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
0
1
[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)
6
1
Input Capture/Output Compare Flag B
0
1
[Clearing conditions]
• When DTC is activated by TGIB interrupt while DISEL bit of MRB in DTC is 0
• When 0 is written to TGFB after reading TGFB = 1
[Setting conditions]
• When TCNT = TGRB while TGRB is functioning as output compare register
• When TCNT value is transferred to TGRB by input capture signal while
R/(W) *
TGRB is functioning as input capture register
TCFU
5
0
Input Capture/Output Compare Flag A
0
1
R/(W) *
TCFV
[Clearing conditions]
• When DTC is activated by TGIA interrupt while DISEL bit
• When 0 is written to TGFA after reading TGFA = 1
[Setting conditions]
• When TCNT = TGRA while TGRA is functioning as output
• When TCNT value is transferred to TGRA by input capture
4
0
of MRB in DTC is 0
compare register
signal while TGRA is functioning as input capture register
H'FF35
3
0
2
0
R/(W) *
TGFB
1
0
R/(W) *
TGFA
0
0
TPU2

Related parts for h8s-2646