English
Language : 

M16C6NK Datasheet, PDF (149/404 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
13. 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 01DBh to 01DDh
After Reset
00XX0000b
00XX0000b
Bit Symbol
Bit Name
Function
RW
TMOD0
TMOD1
b1 b0
0 0 : Timer mode
RW
0 1 : Event counter mode
Operation Mode Select Bit 1 0 : Pulse period measurement mode,
pulse width measurement mode
RW
1 1 : Do not set a value
MR0
RW
MR1
RW
MR2
Function varies with each operation mode
RW (1)
- (2)
MR3
RO
TCK0
TCK1
Count Source Select Bit
Function varies with each operation
mode
RW
RW
NOTES:
1. Timer B0, timer B3.
2. Timer B1, timer B2, timer B4, timer B5.
Timer Bi Register (i = 0 to 5) (1)
(b15)
(b8)
b7
b0 b7
b0
Symbol
TB0
TB1
TB2
TB3
TB4
TB5
Address
0391h, 0390h
0393h, 0392h
0395h, 0394h
01D1h, 01D0h
01D3h, 01D2h
01D5h, 01D4h
After Reset
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Mode
Function
Setting Range RW
Timer Mode
Divide the count source by n + 1
where n = set value
0000h to FFFFh RW
Event Counter Divide the count source by n + 1
Mode
where n = set value (2)
0000h to FFFFh RW
Pulse Period
Measures a pulse period or width
Modulation Mode,
Pulse Width
RO
Modulation Mode
NOTES:
1.The register must be accessed in 16-bit unit.
2.The timer counts pulses from an external device or overflows or underflows of other timers.
Figure 13.16 TB0MR to TB5MR Registers and TB0 to TB5 Registers
Rev.2.00 Nov 28, 2005 page 131 of 378
REJ09B0124-0200