Renesas M16C/62P Hardware Manual page 152

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
Timer Bi Mode Register (i=0 to 5)
b7
b6
b5
b4
b3
NOTES:
1. Timer B0, Timer B3.
2. Timer B1, Timer B2, Timer B4, Timer B5.
Timer Bi Register (i=0 to 5)
(b15)
b7
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.
Figure 15.16 TB0 to TB5 Registers, TB0MR to TB5MR Registers
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
Symbol
b2
b1
b0
TB0MR to TB2MR
TB3MR to TB5MR
Bit Symbol
TMOD0
Operation Mode Select Bit
TMOD1
MR0
MR1
MR2
MR3
TCK0
Count Source Select Bit
TCK1
(1)
(b8)
b0 b7
b0
Mode
Timer Mode
Event Counter
Mode
Pulse Period
Measurement Mode,
Pulse Width
Measurement Mode
page 138
f o
3
6
4
Address
After Reset
039Bh to 039Dh
00XX0000b
035Bh to 035Dh
00XX0000b
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 : Do not set to this value
Function varies with each operation
mode
Function varies with each operation
mode
Symbol
Address
TB0
0391h, 0390h
TB1
0393h, 0392h
TB2
0395h, 0394h
TB3
0351h, 0350h
TB4
0353h, 0352h
TB5
0355h, 0354h
Function
Divide the count source by n + 1
where n = set value
Divide the count source by n + 1
(2)
where n = set value
Measures a pulse period or width
Function
RW
RW
RW
RW
RW
RW
RO
RW
RW
After Reset
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Setting Range
RW
0000h to FFFFh
RW
0000h to FFFFh
RW
RO
15. Timers
(1)
(2)

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents