EasyManuals Logo

Renesas M16C/29 Series User Manual

Renesas M16C/29 Series
501 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #144 background imageLoading...
Page #144 background image
12. Timer B
puorG92/C61M
page 118
854fo7002,03.raM21.1.veR
2110-1010B90JER
Figure 12.17 TB0 to TB2 Registers, TABSR Register, CPSRF Register
Symbol Address After Reset
TABSR 0380
16 0016
Count Start Flag
Bit Name
Bit Symbol
b7 b6 b5 b4 b3 b2 b1 b0
Timer B2 count start flag
Timer B1 count start flag
Timer B0 count start flag
Timer A4 count start flag
Timer A3 count start flag
Timer A2 count start flag
Timer A1 count start flag
Timer A0 count start flag
0: Stops counting
1: Starts counting
TB2S
TB1S
TB0S
TA4S
TA3S
TA2S
TA1S
TA0S
Function
RW
RW
RW
RW
RW
RW
RW
RW
RW
Symbol Address After Reset
CPSRF 0381
16 0XXXXXXX16
Clock Prescaler Reset flag
Bit Name Function
Bit Symbol
b7 b6 b5 b4 b3 b2 b1 b0
Clock prescaler reset flag
CPSR
Nothing is assigned. If necessary, set to 0. When read, the
contents are undefined
RW
RW
(b6-b0)
Setting this bit to 1 initializes the
prescaler for the timekeeping clock.
(When read, the value of this bit is 0
)
Symbol Address After Reset
TB0 0391
16, 039016 Undefined
TB1 0393
16, 039216 Undefined
TB2 0395
16, 039416 Undefined
b7 b0 b7 b0
(b15) (
b8)
Timer Bi Register (i=0 to 2
)(1)
RW
Measures a pulse period or width
Function
RW
RW
RO
NOTES:
1.The register must be accessed in 16 bit units.
2. The timer counts pulses from an external device or overflows or underflows of other timers.
3. When this mode is used combining delayed trigger mode 0, set the larger value than the
value in the timer B0 register to the timer B1 register
.
Divide the count source by n + 1
where n = set value
Timer mode
Event counter
mode
0000
16
to FFFF
16
Divide the count source by n + 1
where n = set value
(2)
000016 to FFFF16
Pulse period
modulation mode,
Pulse width
modulation mode
Mode
Setting Rrange
A/D trigger
mode
(3)
Divide the count source by n + 1 where
n = set value and cause the timer stop
RW
000016 to FFFF16

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas M16C/29 Series and is the answer not in the manual?

Renesas M16C/29 Series Specifications

General IconGeneral
BrandRenesas
ModelM16C/29 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals