English
Language : 

M16C65 Datasheet, PDF (385/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
Timer Mode
Timer Bi Mode Register (i = 0 to 5)
b7 b6 b5 b4 b3 b2 b1 b0
0000
Symbol
TB0MR to TB2MR
TB3MR to TB5MR
Bit Symbol
Bit Name
Address
033Bh to 033Dh
031Bh to 031Dh
Function
TMOD0
TMOD1
Operation mode select bit
b1
0
b0
0 : Timer mode
MR0
MR1
Set to 0 in timer mode
After Reset
00XX 0000b
00XX 0000b
RW
RW
RW
RW
RW
—
No register bit. If necessary, set to 0. Read as undefined value
—
MR3
Write 0 in timer mode.
Read as undefined value in timer mode
RO
TCK0
b7 b6
0 0 : f1TIMAB or f2TIMAB
RW
Count source select bit 0 1 : f8TIMAB
TCK1
1 0 : f32TIMAB
1 1 : fC32
RW
TCK1-TCK0 (Count Source Select Bit) (b7-b6)
Enabled when the TCS3 or TCS7 bit in registers TBCS0 to TBCS3 is set to 0 (TCK0 to TCK1 enabled).
Select f1TIMAB or f2TIMAB by the PCLK0 bit in the PCLKR register.
Count operations
Count start
n
Count stop
by TBiS bit
0000h
TBiS bit
in TABSR register
or TBSR register
Underflow
n+1
reload
IR bit
in TBiIC register
Set to 0 by an interrupt request acknowledgement or by a program.
i = 0 to 5
The above timing diagram applies when the register bits are set as follows:
-Value in the TBi register (n) = 0004h
Figure 18.4 Operation Example in Timer Mode
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 350 of 791