R01UH0092EJ0110 Rev.1.10
Page 253 of 807
Jul 31, 2012
M16C/64C Group
17. Timer A
Figure 17.2
Timer A Configuration
TMOD1 to TMOD0
00b
11b
10b
01b
TA4TGH to TA4TGL
TMOD1 to TMOD0
00b
11b
10b
01b
TA3TGH to TA3TGL
TMOD1 to TMOD0
00b
11b
10b
01b
TA2TGH to TA2TGL
TMOD1 to TMOD0
00b
11b
10b
01b
TA1TGH to TA1TGL
00b: Timer mode
10b: One-shot timer mode
11b: PWM mode
01b: Event counter mode
01b: Event counter mode
01b: Event counter mode
01b: Event counter mode
01b: Event counter mode
TA0IN
(1)
TA1IN
TA2IN
TA3IN
TA4IN
Timer A0
Timer A1
Timer A2
Timer A3
Timer A4
Timer A0
interrupt
Timer A1
interrupt
Timer A2
interrupt
Timer A3
interrupt
Timer A4
interrupt
Noise
filter
Noise
filter
Noise
filter
Noise
filter
Noise
filter
Timer B2 overflow or underflow
Note:
1. TA0IN shares a pin with TB5IN.
TMOD1 to TMOD0
00b
11b
10b
01b
TA0TGH to TA0TGL
i = 0 to 4
TCK1 to TCK0, TMOD1 to TMOD0
: Bits in the TAiMR register
TAiTGH to TAiTGL
: Bits in the ONSF register or TRGSR register
TCS7 to TCS0
: Bits in registers TACS0 to TACS2
TCK1 to TCK0
00b
01b
10b
11b
000b
001b
010b
110b
TCS2 to TCS0
011b
101b
TCK1 to TCK0
00b
01b
10b
11b
000b
001b
010b
101b
TCS6 to TCS4
011b
TCS7
TCK1 to TCK0
00b
01b
10b
11b
000b
001b
010b
TCS2 to TCS0
011b
TCS3
TCK1 to TCK0
00b
01b
10b
11b
000b
001b
010b
101b
TCS6 to TCS4
011b
TCS7
TCK1 to TCK0
00b
01b
10b
11b
000b
001b
010b
101b
TCS2 to TCS0
011b
TCS3
TCS3
1
0
1
0
1
0
1
0
1
0
fC32
fOCO-S
f64TIMAB
f32TIMAB
f8TIMAB
f1TIMAB
or f2TIMAB
110b
110b
101b
110b
110b
00b: Timer mode
10b: One-shot timer mode
11b: PWM mode, programmable output mode
00b: Timer mode
10b: One-shot timer mode
11b: PWM mode, programmable output mode
00b: Timer mode
10b: One-shot timer mode
11b: PWM mode
00b: Timer mode
10b: One-shot timer mode
11b: PWM mode, programmable output mode
Summary of Contents for M16C Series
Page 846: ...M16C 64C Group R01UH0092EJ0110...