h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 1009

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
TCSRX—Timer Control/Status Register X
Note:
Bit
Initial value
Read/Write
TCSRX
Compare match flag B
0
1
* Only 0 can be written in bits 7 to 4, to clear the flags.
[Clearing conditions]
• When 0 is written in CMFB after reading CMFB = 1
• When the DTC is activated by a CMIB interrupt
[Setting condition]
When TCNT = TCORB
R/(W) *
CMFB
7
0
R/(W) *
CMFA
Compare match flag A
0
1
6
0
[Clearing conditions]
• When 0 is written in CMFA after reading CMFA = 1
• When the DTC is activated by a CMIA interrupt
[Setting condition]
When TCNT = TCORA
R/(W) *
Timer overflow flag
OVF
0
1
5
0
[Clearing condition]
When 0 is written in OVF after reading OVF = 1
[Setting condition]
When TCNT overflows from H'FF to H'00
Input capture flag
0
1
R/(W) *
[Clearing condition]
Read ICF when ICF = 1, then write 1 in ICF
[Setting condition]
When a rising edge followed by a falling edge is
detected in the external reset signal after the
ICST bit in TCONRI has been set to 1
ICF
4
0
Output select 3 and 2
0
1
Output select 1 and 0
Rev. 4.00 Jun 06, 2006 page 955 of 1004
OS3
R/W
H'FFF1
0
1
0
1
0
1
3
0
No change at compare match B
0 output at compare match B
1 output at compare match B
Output inverted at compare
match B (toggle output)
0
1
0
1
Appendix B Internal I/O Registers
OS2
R/W
No change at compare match A
0 output at compare match A
1 output at compare match A
Output inverted at compare
match A (toggle output)
2
0
OS1
R/W
1
0
REJ09B0301-0400
OS0
R/W
0
0
TMRX

Related parts for h8s-2138