English
Language : 

M16C30_02 Datasheet, PDF (89/178 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Timer B
Mitsubishi microcomputers
M16C / 30 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Timer Bi register (Note)
(b15)
b7
(b8)
b0 b7
b0
Symbol
TB1
TB2
Address
039316, 039216
039516, 039416
When reset
Indeterminate
Indeterminate
Function
• Timer mode
Counts the timer's period
• Event counter mode
Counts external pulses input or a timer overflow
• Pulse period / pulse width measurement mode
Measures a pulse period or width
Note: Read and write data in 16-bit units.
Values that can be set R W
000016 to FFFF16
000016 to FFFF16
Count start flag
b7 b6 b5 b4 b3 b2 b1 b0
000
Symbol
TABSR
Address
038016
When reset
0016
Bit symbol
Bit name
TA0S Timer A0 count start flag
TA1S Timer A1 count start flag
TA2S Timer A2 count start flag
Reverved bit
TB1S Timer B1 count start flag
TB2S Timer B2 count start flag
Function
0 : Stops counting
1 : Starts counting
Must always be set to “0”
0 : Stops counting
1 : Starts counting
RW
Clock prescaler reset flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
CPSRF
Address
038116
When reset
0XXXXXXX2
Bit symbol
Bit name
Function
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns
out to be indeterminate.
CPSR
Clock prescaler reset flag
0 : No effect
1 : Prescaler is reset
(When read, the value is “0”)
RW
Figure 1.14.16. Timer B-related registers (2)
88