R01UH0136EJ0210 Rev.2.10
Page 301 of 800
Jul 31, 2012
M16C/64A Group
18. Timer B
Figure 18.2
Timer B Configuration
TMOD1 to TMOD0
1
0
TCK1
TMOD1 to TMOD0
1
0
TCK1
TMOD1 to TMOD0
1
0
TCK1
TMOD1 to TMOD0
1
0
TCK1
TMOD1 to TMOD0
1
0
TCK1
TMOD1 to TMOD0
1
0
TCK1
↑
Timer B0
Timer B0 interrupt
Noise
filter
Timer B1
Timer B1 interrupt
Noise
filter
Noise
filter
Timer B2
Timer B2 interrupt
Timer B3
Timer B3 interrupt
Noise
filter
Timer B4
Timer B4 interrupt
Noise
filter
Timer B5
Timer B5 interrupt
Noise
filter
Note:
1. TA0IN shares
a pin
with TB5IN.
Timer B2 overflow or underflow (to timer A count source)
01b: Event counter mode
00b: Timer mode
10b: Pulse period, pulse width measurement mode
01b: Event counter mode
01b: Event counter mode
01b: Event counter mode
01b: Event counter mode
01b: Event counter mode
00b: Timer mode
10b: Pulse period, pulse width measurement mode
00b: Timer mode
10b: Pulse period, pulse width measurement mode
00b: Timer mode
10b: Pulse period, pulse width measurement mode
00b: Timer mode
10b: Pulse period, pulse width measurement mode
00b: Timer mode
10b: Pulse period, pulse width measurement mode
TCK1 to TCK0, TMOD1 to TMOD0: Bits in the TBiMR register
TCS0 to TCS7: Bits in registers TBCS0 to TBCS3
i = 0 to 5
TCK1 to TCK0
TCS2 to TCS0
TCK1 to TCK0
TCS6 to TCS4
TCK1 to TCK0
TCS2 to TCS0
TCK1 to TCK0
TCS2 to TCS0
TCK1 to TCK0
TCS6 to TCS4
TCK1 to TCK0
TCS2 to TCS0
TCS3
TCS7
TCS3
TCS3
TCS7
TCS3
1
0
1
0
1
0
1
0
1
0
1
0
TB0IN
TB1IN
TB2IN
TB3IN
TB4IN
00b
01b
10b
11b
000b
001b
010b
110b
011b
101b
00b
01b
10b
11b
000b
001b
010b
101b
011b
00b
01b
10b
11b
000b
001b
010b
011b
00b
01b
10b
11b
000b
001b
010b
101b
011b
00b
01b
10b
11b
000b
001b
010b
101b
011b
fC32
fOCO-S
f64TIMAB
f32TIMAB
f8TIMAB
f1TIMAB
or f2TIMAB
110b
110b
101b
110b
110b
000b
001b
010b
101b
011b
110b
00b
01b
10b
11b
TB5IN
(1)
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...