Renesas M16C/60 Series Hardware Manual page 129

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group
Timer Bi mode register (i = 0 to 5)
b7
b6
b5
b4
b3
b2
Note 1: Timer B0, timer B3.
Note 2: Timer B1, timer B2, timer B4, timer B5.
Timer Bi register (i = 0 to 5) (Note 1)
(b15)
b7
Note 1: The register must be accessed in 16-bit unit.
Note 2: The timer counts pulses from an external device or overflows or underflows of other timers.
Figure 1.13.16 TB0MR to TB5MR Registers and TB0 to TB5 Registers
Rev.1.00
2003.05.30
page 115
b1
b0
Symbol
TB0MR to TB2MR
TB3MR to TB5MR
Bit symbol
TMOD0
Operation mode select bit
TMOD1
MR0
MR1
MR2
MR3
TCK0
Count source select bit
TCK1
(b8)
b0 b7
b0
Mode
Divide the count source by n + 1
Timer mode
where n = set value
Event counter
Divide the count source by n + 1
mode
where n = set value (Note 2)
Pulse period
Measures a pulse period or width
modulation mode,
Pulse width
modulation mode
Address
After reset
039B
to 039D
00XX0000
16
16
01DB
to 01DD
00XX0000
16
16
Bit name
b1 b0
0 0 : Timer mode
0 1 : Event counter mode
1 0 : Pulse period measurement mode,
pulse width measurement mode
1 1 : Must not be set
Function varies with each operation
mode
Function varies with each operation
mode
Symbol
Address
TB0
0391
, 0390
16
TB1
0393
, 0392
16
TB2
0395
, 0394
16
TB3
01D1
, 01D0
16
TB4
01D3
, 01D2
16
TB5
01D5
, 01D4
16
Function
2
2
Function
(Note 1)
(Note 2)
After reset
Indeterminate
16
Indeterminate
16
Indeterminate
16
Indeterminate
16
Indeterminate
16
Indeterminate
16
Setting range
0000
to FFFF
16
16
0000
to FFFF
16
16
Timer B
RW
RW
RW
RW
RW
RW
RO
RW
RW
RW
RW
RW
RO

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents