
373
10.1.3
Pin Configuration
Table 10.1 summarizes the input and output pins of the 8-bit timer.
Table 10.1
Input and Output Pins of 8-Bit Timer
Channel
Name
Symbol
I/O
Function
0
Timer output pin 0
TMO0
Output
Outputs at compare match
Timer clock input pin 0
TMCI0
Input
Inputs external clock for counter
Timer reset input pin 0
TMRI0
Input
Inputs external reset to counter
1
Timer output pin 1
TMO1
Output
Outputs at compare match
Timer clock input pin 1
TMCI1
Input
Inputs external clock for counter
Timer reset input pin 1
TMRI1
Input
Inputs external reset to counter
10.1.4
Register Configuration
Table 10.2 summarizes the registers of the 8-bit timer module.
Table 10.2
8-Bit Timer Registers
Channel
Name
Abbreviation
R/W
Initial value
Address
*
1
0
Timer control register 0
TCR0
R/W
H'00
H'FFB0
Timer control/status register 0 TCSR0
R/(W)
*
2
H'00
H'FFB2
Time constant register A0
TCORA0
R/W
H'FF
H'FFB4
Time constant register B0
TCORB0
R/W
H'FF
H'FFB6
Timer counter 0
TCNT0
R/W
H'00
H'FFB8
1
Timer control register 1
TCR1
R/W
H'00
H'FFB1
Timer control/status register 1 TCSR1
R/(W)
*
2
H'10
H'FFB3
Time constant register A1
TCORA1
R/W
H'FF
H'FFB5
Time constant register B1
TCORB1
R/W
H'FF
H'FFB7
Timer counter 1
TCNT1
R/W
H'00
H'FFB9
All
Notes: 1. Lower 16 bits of the address
2. Only 0 can be written to bits 7 to 5, to clear these flags.
Module stop control register
MSTPCR
R/W
H'3FFF
H'FF3C
Each pair of registers for channel 0 and channel 1 is a 16-bit register with the upper 8 bits for
channel 0 and the lower 8 bits for channel 1, so they can be accessed together by word transfer
instruction.