BAT32G1x9 user manual | Chapter 9 Timer C
301 / 1149
Rev.1.02
9.3.4
Timer C controls register 1 (TCCR1).
Figure 9-5 Timer C controls the format of register 1 (TCCR1).
Address: 0x40042C54
After reset:
00H R/W
Symbol
7 6 5 4 3 2 1 0
TCCR1
TCK2
TCK1
TCK0
Count source select Note
0
0
0
fCLK
0
0
1
fCLK/2
0
1
0
fCLK/4
0
1
1
fCLK/8
1
0
0
fCLK/32
Other than the above
Prohibit settings
START_MD
Count the selection of the starting source
0
The software sets the Timer C
count to start
1
The output signal of Timer M triggers the start of the Timer C
count
When START_MD=1, the count begins after the TSTART bit of T CCR2 is set to 1
TRIG_MD_S
W
The software resets the valid signal of Timer C
0
Disables software resetting the count counter of Timer C
1
Enables the software to reset the count counter of Timer C
Invalid when START_MD=1
TRIG_MD_H
W
Action selection when Timer C is triggered via the output of Timer M
0
Start counting after resetting Timer C
1
Timer C starts counting
Invalid when START_MD=0
TM_TRIG
Hardware-triggered selection from Timer M
0
The count start action of TM0 (T START0 is set to 1) triggers the Timer C start count
1
The count start action of T M 1 (TSTART1 is set to 1) triggers the Timer C start count
Invalid when START_MD=0
OVIE
Enables overflow interrupt signals to be generated
0
Disables interrupts when the T C register overflows
1
Enables
an interrupt to occur when the T C register overflows
Note: When working with Timer M, the action clock of Timer C must be set
to match the frequency of
timer M's
action clock.
TCK2
TCK1
TCK0
START_MD
TRIG_MD_S
W
TRIG_MD_H
W
TM_TRIG
OVIE