BAT32G1x9 user manual | Chapter 10 Timer M
335 / 1149
Rev.1.02
Fig. 10-21 Format of the I/O control register Ai (TMIORAi) (i=0, 1) of the timer M[ Output comparison
function].
Address: 0x40042A71
(TMIORA0),
0x40042A81H
(TMIORA1) After reset:
00H R/W
symbol
TMIORAi
IOB2
TMGRB mode selection
note
1
When using the output comparison function, you must set "0"
(output comparison).
IOB1
IOB0
TMGRB control
0
0
Disables comparison of matching pin outputs (TMIOBi pins are I/O ports).
0
1
Outputs the "L" level when the TMGRBi comparison matches.
1
0
Outputs the "H" level when the TMGRBi comparison matches.
1
1
Alternate outputs are performed when the TMGRBi comparison matches.
IOA2
TMGRA mode selection
note
2
When using the output comparison function, you must set "0"
(output comparison).
IOA1
IOA0
TMGRA control
0
0
Disables comparison of matching pin outputs (TMIOAi pins are I/O ports).
0
1
Outputs the "L" level when the TMGRAi comparison matches.
1
0
Outputs the "H" level when the TMGRAi comparison matches.
1
1
Alternate outputs are performed when the TMGRAi comparison matches.
Note
1. If you
select
"1"
(
buffer
register of
the TMGRBi
register) by the
TMBFDi
bit of the
TMMR
register, you must
give the
TMIORAi
register
The IOB2
bit and
the
IOD2
bit
of the
TMIORCi
register
are set to the same value.
2. If you
select
"1"
(
the buffer
register of the
TMGRAi
register) by the
TMBFCi
bit of the
TMMR
register, you must
give the
TMIORAi
register
The IOA2
bit and
the
IOC2
bit
of the
TMIORCi
register
are set to the same value.
7
6
5
4
3
2 1
0
0
IOB2
IWhether
1
IOB0
0
IOA2
IOA1
IA0