BAT32G1x9 user manual | Chapter 8 Timer B
268 / 1149
Rev.1.02
TBIOA1
TBIOA0
TBGRA control
0
0
Disables comparison of matching pin outputs.
0
1
Output "L"
level.
1
0
Outputs the "H"
level.
1
1
Alternate outputs.
The output of the TB
register and
TBGRA
registers is compared and matched by the output comparison
function.
TBIOA1
TBIOA0
TBGRA control
0
0
The rising edge of TBIO0
0
1
The descending edge of TBIO0
1
0
Bilateral edge of TBIO0
Other than the above
Prohibit settings.
Capture the contents of the TB register to TBGRA via the input capture function.
Note: 1
When
TBIOj2
bits (j=A,
B) are
"1"
(input capture function),
the TBGRj
register is used as the input capture
register.
2. When
the TBIOj2
bit (j=A,
B) is
"0"
(output comparison function),
the TBGRj
register is used as a comparison match
register. Set the
TBIOj0
bits and
TBIOj1
bits after reset, and
output the following levels
from the
TBIOj
pin before
the
first
comparison match
occurs:
When TBIOj1,
TBIOj0=01B, output
"H"
level.
When TBIOj1,
TBIOj0=10B, the output
"L"
level.
When TBIOj1,
TBIOj0=11B, output
"L"
level.
This TBIOR register controls the input/output pins in timer mode. Not valid in PWM mode. The TBIOR register must
be set in the state of stop count (TBSTART=0 for the TBMR register).