BAT32G1x9 user manual | Chapter 10 Timer M
337 / 1149
Rev.1.02
Fig. 10-23 Format of timer M I/O control register Ci (TMIORCi) (i=0, 1) [ Output comparison
function].
Address: 0x40042A72
(TMIORC0),
0x40042A82
(TMIORC1) after reset:
88H R/W
symbol
TMIORCi
IOD3
Selection of TMGRD register function
0
TMIOB output register
(Refer to "Changes to the Output Pins of the 10.5.2(2)TMGRCi Register and the TMGRDi
Register (i=0, 1)")
1
General Purpose registers or buffer registers
IOD2
Choice of TMGRD mode
Note
1
When using the output comparison function, you must set "0"
(output comparison).
IOD1
IOD0
TMGRD control
0
0
Disables comparison of matching pin outputs.
0
1
Outputs the "L" level when the TMGRDi comparison matches.
1
0
Outputs the "H" level when the TMGRDi comparison matches.
1
1
Alternate outputs are performed when the TMGRDi
comparison matches.
IOC3
Selection of TMGRC register function
0
TMIOA output registers
(Refer to "Changes to the Output Pins of the 10.5.2(2)TMGRCi Register and the TMGRDi
Register (i=0, 1)")
1
General Purpose registers or buffer registers
IOC2
TMGRC mode selection
note
2
When using the output comparison function, you must set "0"
(output comparison).
IOC1
IOC0
TMGRC controlled
0
0
Disables comparison of matching pin outputs.
0
1
Outputs the "L" level when the TMGRCi comparison matches.
1
0
Outputs the "H" level when the TMGRCi comparison matches.
1
1
Alternate outputs are performed when the TMGRCi 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
ID3
IOD2
IOD1
IOD0
IOC3
IOC2
IOC1
IOC0