English
Language : 

HD6473228P10V Datasheet, PDF (285/301 Pages) Renesas Technology Corp – Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp
TCSR—Timer Control/Status Register
H’FFC9
TMR0
Bit
7
6
5
4
CMFB CMFA OVF —
Initial value 0
0
0
1
Read/Write R/(W)*1 R/(W)*1 R/(W)*1 —
3
OS3*2
0
R/W
2
OS2*2
0
R/W
1
OS1*2
0
R/W
0
OS0*2
0
R/W
Output Select
0 0 No change on compare-match A.
0 1 Output 0 on compare-match A.
1 0 Output 1 on compare-match A.
1 1 Invert (toggle) output on compare-match A.
Output Select
0 0 No change on compare-match B.
0 1 Output 0 on compare-match B.
1 0 Output 1 on compare-match B.
1 1 Invert (toggle) output on compare-match B.
Timer Overflow Flag
0 Cleared by reading OVF = 1, then writing 0.
1 Set when TCNT changes from H’FF to H’00.
Compare-Match Flag A
0 Cleared by reading CMFA = 1, then writing 0.
1 Set when TCNT = TCORA.
Compare-Match Flag B
0 Cleared by reading CMFB = 1, then writing 0.
1 Set when TCNT = TCORB.
*1 Software can write a 0 in bits 7 to 5 to clear the flags, but cannot write a 1 in these bits.
*2 When all four bits (OS3 to OS0) are cleared to 0, output is disabled.
289