BAT32G1x9 user manual | Chapter 8 Timer B
261 / 1149
Rev.1.02
7
6
5
4
3
2
1
0
CNTEN7
CNTEN6
CNTEN5
CNTEN4
CNTEN3
CNTEN2
CNTEN1
CNTEN0
8.3.3 Timer B counts the control register (TBCNTC).
Use the TBCNTC register in phase count mode to set the counting conditions for phase count mode.
Figure 8-4 Format of timer B count control register (TBCNTC).
Address: 40042651H
after reset:
00H R/W
symbol
TBCNTC
CNTEN7
Enable for the count 7
0
void
1
Increment the count
When the TBCLK0
input is the
"L"
level and the
rising edge of the
TBCLK1
input
CNTEN6
Enable for the count 6
0
void
1
Increment the count
When the TBCLK1
input is
the "H"
level and the
rising edge of the
TBCLK0 input
CNTEN5
Enable for the count 5
0
void
1
Increment the count
When the TBCLK0 input is at the
"H"
level and
the falling edge of the
TBCLK1 input
CNTEN4
Enable for the count 4
0
void
1
Increment the count
When the TBCLK1 input is
the "L"
level and the
falling edge of the
TBCLK0 input
CNTEN3
Enable for the count 3
0
void
1
Decrement the count
When the TBCLK1 input is at the
"H"
level and
the falling edge of the
TBCLK0 input
CNTEN2
Enable for the count 2
0
void
1
Decrement the count
When the TBCLK0 input is the
"L"
level and
the falling edge of the
TBCLK1 input
CNTEN1
Enable for the count 1
0
void
1
Decrement the count
When the TBCLK1 input is at the
"L"
level and the
rising edge of the
TBCLK0
input
CNTEN0
Enable for the count 0
0
void
1
Decrement the count
When the TBCLK0 input is at the
"H"
level and
the rising edge of the
TBCLK1 input