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

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
TCSR1—Timer Control/Status Register 1
Note: * Only 0 can be written in bits 7 to 5, to clear the flags.
TCSR1
Bit
Initial value
Read/Write
Compare match flag B
R/(W) *
CMFB
0
1
7
0
[Clearing conditions]
• Read CMFB when CMFB = 1, then write 0 in CMFB
• When the DTC is activated by a CMIB interrupt
[Setting condition]
When TCNT = TCORB
R/(W) *
Compare match flag A
CMFA
0
1
6
0
[Clearing conditions]
• Read CMFA when CMFA = 1, then write 0 in CMFA
• When the DTC is activated by a CMIA interrupt
[Setting condition]
When TCNT = TCORA
Timer overflow flag
R/(W) *
0
1
OVF
5
0
[Clearing condition]
Read OVF when OVF = 1, then write 0 in OVF
[Setting condition]
When TCNT overflows from H'FF to H'00
Output select 3 and 2
0
1
4
1
Output select 1 and 0
0
1
0
1
0
1
Rev. 4.00 Jun 06, 2006 page 945 of 1004
H'FFCB
OS3
R/W
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)
3
0
0
1
0
1
Appendix B Internal I/O Registers
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)
OS2
R/W
2
0
OS1
R/W
1
0
REJ09B0301-0400
OS0
R/W
0
0
TMR1

Related parts for h8s-2138