VII - 5
Chapter 7
16-bit Timers
Control Registers
7-2
Control Registers
Timer 7 contains the binary counter (TM7BC), the compare register 1 (TM7OC1) with its double buffer
preset register 1 (TM7PR1), the compare register 2 (TM7OC2) with its double buffer preset register 2
(TM7PR2), the input capture register (TM7IC) and the dead time preset register 1 (TM7DEADPR). The
mode register 1 (TM7MD1), the mode register 2 (TM7MD2) and the mode register 3 (TM7MD3) control
timer 7. Timer 8 contains the binary counter (TM8BC), the compare register 1 (TM8OC1) with its double
buffer preset register 1 (TM8PR1), the compare register 2 (TM8OC2) with its double buffer preset regis-
ter 2 (TM8PR2), and the input capture register (TM8IC). The mode register 1 (TM8MD1), the mode
register 2 (TM8MD2) and the mode register 3 (TM8MD3) control timer 8.
Table 7-2-1
16-bit Timer Control Registers(1/2)
7-2-1
Registers
Table 7-2-1 shows the registers that control timer 7.
Register
Address
R/W
Function
Page
Timer 7
TM7BCL
x'03F70'
R
Timer 7 binary counter (lower 8 bits)
VII - 11
TM7BCH
x'03F71'
R
Timer 7 binary counter (upper 8 bits)
VII - 11
TM7OC1L
x'03F72'
R
Timer 7 compare register 1 (lower 8 bits)
VII - 7
TM7OC1H
x'03F73'
R
Timer 7 compare register 1 (upper 8 bits)
VII - 7
TM7PR1L
x'03F74'
R/W Timer 7 preset register 1 (lower 8 bits)
VII - 9
TM7PR1H
x'03F75'
R/W Timer 7 preset register 1 (upper 8 bits)
VII - 9
TM7ICL
x'03F76'
R
Timer 7 capture regsiter (lower 8 bits)
VII - 12
TM7ICH
x'03F77'
R
Timer 7 capture register (upper 8 bits)
VII - 12
TM7MD1
x'03F78'
R/W Timer 7 mode register 1
VII - 13
TM7MD2
x'03F79'
R/W Timer 7 mode register 2
VII - 14
TM7MD3
x'03F6C'
R/W Timer 7 mode register 3
VII - 15
TM7OC2L
x'03F7A'
R
Timer 7 compare register 2 (lower 8 bits)
VII - 7
TM7OC2H
x'03F7B'
R
Timer 7 compare register 2 (upper 8 bits)
VII - 7
TM7PR2L
x'03F7C'
R/W Timer 7 preset register 2 (lower 8 bits)
VII - 9
TM7PR2H
x'03F7D'
R/W Timer 7 preset register 2 (upper 8 bits)
VII - 9
TM7DEADPR
x'03F7E'
R/W Timer 7 Dead time Preset register
VII - 12
TM7ICR
x'03FF1'
R/W Timer 7 interrupt control register
III - 28
T7OC2ICR
x'03FF2'
R/W Timer 7 compare register 2 match interrupt control register
III - 29
P1OMD
x'03F2F'
R/W Port 1 output mode register
IV - 15
P1DIR
x'03F31'
R/W Port 1 direction control register
IV - 14