English
Language : 

M16C65 Datasheet, PDF (372/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
18. Timer B
PPWFS12 to PPWFS10
PPWFS22 to PPWFS20
Data Bus
TBi1 register
TBi register
f1TIMAB
or
f2TIMAB
f8TIMAB
f32TIMAB
fC32
f1TIMAB
or
f2TIMAB
f8TIMAB
f32TIMAB
f64TIMAB
fOCO-F
fOCO-S
fC32
Clock source select
TCK1 to TCK0
00
01
10
TCS3
or TCS7
0
00: Timer mode
10: Pulse period,
pulse width measurement mode
TMOD1 to TMOD0
11
Reload register Reload register
Selector
TCS2 to TCS0
or TCS6 to TCS4
000
001
010
011
100
101
110
1
1
TBj
overflow (1)
0
TCK1
01 : Event counter
Counter
TBiS
TBiIN
Polarity select,
edge pulse
Note:
1. Overflow or underflow
TCK1 to TCK0, TMOD1 to TMOD0 : Bits in the TBiMR register
TBiS
: Bits in the TABSR register or TBSR register
TCS0 to TCS7
: Bits in the registers TBCS0 to TBCS3
PPWFS12 to PPWFS10 : Bits in the PPWFS1 register
PPWFS22 to PPWFS20 : Bits in the PPWFS2 register
Figure 18.3 Timer B Block Diagram
Counter reset circuit
i = 0 to 5
j = i - 1, except j = 2 if i = 0, and j = 5 if i = 3
TBi
Timer B0
Timer B1
Timer B2
Timer B3
Timer B4
Timer B5
TBj
Timer B2
Timer B0
Timer B1
Timer B5
Timer B3
Timer B4
Table 18.2 I/O Ports
Pin Name
I/O Type
Function
TBiIN
Input (1)
Count source input (event counter mode)
Measurement pulse input (pulse period measurement mode, pulse
width measurement mode)
i = 0 to 5
Note:
1. When using the TBiIN pin for input, set the port direction bit corresponding to the pin to 0 (input
mode).
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 337 of 791