Section 13 8-Bit Timer (TMR)
TCSR_X
Bit
Bit Name Initial Value
7
CMFB
0
6
CMFA
0
5
OVF
0
4
ICF
0
3
OS3
0
2
OS2
0
Rev. 3.00 Jan 25, 2006 page 326 of 872
REJ09B0286-0300
R/W
Description
R/(W) * Compare-Match Flag B
[Setting condition]
•
When the values of TCNT_X and TCORB_X match
[Clearing condition]
•
Read CMFB when CMFB = 1, then write 0 in CMFB
R/(W) * Compare-Match Flag A
[Setting condition]
•
When the values of TCNT_X and TCORA_X match
[Clearing condition]
•
Read CMFA when CMFA = 1, then write 0 in CMFA
R/(W) * Timer Overflow Flag
[Setting condition]
•
When TCNT_X overflows from H'FF to H'00
[Clearing condition]
•
Read OVF when OVF = 1, then write 0 in OVF
R/(W) * Input Capture Flag
[Setting condition]
•
When a rising edge and falling edge is detected in
the external reset signal in that order, after the ICST
bit in TCONRI of the timer connection is set to 1
[Clearing condition]
•
Read ICF when ICF = 1, then write 0 in ICF
R/W
Output Select 3, 2
R/W
These bits specify how the TMOX pin output level is to
be changed by compare-match B of TCORB_X and
TCNT_X.
00: No change
01: 0 is output
10: 1 is output
11: Output is inverted (toggle output)