English
Language : 

M16C62P_06 Datasheet, PDF (172/421 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
M16C/62P Group (M16C/62P, M16C/62PT)
15. Timers
Timer Bi Mode Register (i=0 to 5)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
TB0MR to TB2MR
039Bh to 039Dh
TB3MR to TB5MR
035Bh to 035Dh
Bit Symbol
Bit Name
Operation Mode Select Bit
TMOD0
TMOD1
After Reset
00XX0000b
00XX0000b
Function
b1 b0
0 0 : Timer mode
0 1 : Event counter mode
1 0 : Pulse period measurement mode,
pulse w idth measurement mode
1 1 : Do not set to this value
MR0 —
MR1
Function varies w ith each operation mode
MR2
MR3
TCK0 Count Source Select Bit
TCK1
NOTES :
1. Timer B0, Timer B3.
2. Timer B1, Timer B2, Timer B4, Timer B5.
Function varies w ith each operation mode
RW
RW
RW
RW
RW
RW(1)
—(2)
RO
RW
RW
Timer Bi Register (i=0 to 5)(1)
(b15)
(b8)
b7
b0 b7
b0
Mode
Symbol
TB0
TB1
TB2
TB3
TB4
TB5
Address
0391h, 0390h
0393h, 0392h
0395h, 0394h
0351h, 0350h
0353h, 0352h
0355h, 0354h
Function
After Reset
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Setting Range RW
Timer Mode
Divide the count source by n + 1
w here n = set value
0000h to FFFFh
RW
Event Counter Mode
Divide the count source by n + 1
w here n = set value (2)
0000h to FFFFh
RW
Pulse Period Measurement Mode, Measures a pulse period or w idth
—
Pulse Width Measurement Mode
RO
NOTES :
1. The register must be accessed in 16-bit units.
2. The timer counts pulses from an external device or overflow s or underflow s of other timers.
Figure 15.17 TBiMR and TBi Registers
Rev.2.41 Jan 10, 2006 Page 157 of 390
REJ09B0185-0241