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

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
Appendix B Internal I/O Registers
TCSR0—Timer Control/Status Register 0
Rev. 4.00 Jun 06, 2006 page 944 of 1004
REJ09B0301-0400
TCSR0
Bit
Initial value
Read/Write
Note:
* Only 0 can be written in bits 7 to 5, to clear the flags.
Compare match flag B
0
1
R/(W) *
CMFB
[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
7
0
R/(W) *
CMFA
Compare match flag A
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
R/(W) *
OVF
Timer overflow flag
0
1
5
0
A/D trigger enable
[Clearing condition]
Read OVF when OVF = 1, then write 0 in OVF
[Setting condition]
When TCNT overflows from H'FF to H'00
0
1
A/D converter start requests by compare match A
are disabled
A/D converter start requests by compare match A
are enabled
Output select 3 and 2
ADTE
R/W
0
1
4
0
0
1
0
1
Output select 1 and 0
OS3
R/W
H'FFCA
0
1
0 output at compare match B
1 output at compare match B
Output inverted at compare
match B (toggle output)
3
0
No change at compare match B
0
1
0
1
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
OS0
R/W
0
0
TMR0

Related parts for h8s-2138