8-Bit Timer Control Registers; Panasonic - Panasonic MN10285K User Manual

Panax series microcomputer
Table of Contents

Advertisement

Timers

8-Bit Timer Control Registers

MN102H75K/F75K/85K/F85K LSI User Manual
4.6

8-Bit Timer Control Registers

Table 4-2 shows the registers used to control the 8-bit timers. A binary counter
(TMnBC), a time base counter (TMnBR), and a timer mode register (TMnMD) is
associated with each 8-bit timer.
Table 4-2 8-Bit Timer Control Registers
Register
Timer 0
TM0BC
TM0BR
TM0MD
Timer 1
TM1BC
TM1BR
TM1MD
Timer 2
TM2BC
TM2BR
TM2MD
Timer 3
TM3BC
TM3BR
TM3MD
TM0BC–TM3BC: Timer n Binary Counter
Bit:
7
6
5
4
TMn
TMn
TMn
TMn
BC7
BC6
BC5
BC4
Reset:
0
0
0
0
R/W:
R
R
R
R
TM0BR–TM3BR: Timer n Base Register
Bit:
7
6
5
4
TMn
TMn
TMn
TMn
BR7
BR6
BR5
BR4
Reset:
0
0
0
0
R/W:
R/W
R/W
R/W
R/W
TM0MD–TM3MD: Timer n Mode Register
Bit:
7
6
5
4
TMn
TMn
EN
LD
Reset:
0
0
0
0
R/W:
R/W
R/W
R
R
TMnEN: TMnBC count enable
0: Disable / 1: Enable
TMnLD: TMnBR value load to TMnBC
0: Do not load value / 1: Load value
TMnS[1:0]: Timer n clock source select
See table 4-1 on page 78 for clock sources. 00 = clock source 0, 01 = clock
source 1, 10 = clock source 2, and 11 = clock source 3.
87

Panasonic

Address R/W
x'00FE00'
R
Timer 0 binary counter
x'00FE10'
R/W
Timer 0 base register
Timer 0 mode register
x'00FE20'
R/W
Timer 1 binary counter
x'00FE01'
R
Timer 1 base register
x'00FE11'
R/W
x'00FE21'
R/W
Timer 1 mode register
x'00FE02'
R
Timer 2 binary counter
x'00FE12'
R/W
Timer 2 base register
Timer 2 mode register
x'00FE22'
R/W
Timer 3 binary counter
x'00FE03'
R
x'00FE13'
R/W
Timer 3 base register
x'00FE23'
R/W
Timer 3 mode register
3
2
1
0
TMn
TMn
TMn
TMn
BC3
BC2
BC1
BC0
0
0
0
0
R
R
R
R
3
2
1
0
TMn
TMn
TMn
TMn
BR3
BR2
BR1
BR0
0
0
0
0
R/W
R/W
R/W
R/W
3
2
1
0
TMn
TMn
S1
S0
0
0
0
0
R
R
R/W
R/W
Panasonic Semiconductor Development Company
Description
x'00FE00'–x'00FE03'
x'00FE10'–x'00FE13'
x'00FE20'–x'00FE23'

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn102f75kMn102f85kMn102h75kMn102h85k

Table of Contents