
BAT32G1x9 user manual | Chapter 10 Timer M
356 / 1149
Rev.1.02
Fig. 10-35
Timer M General Purpose registers Ai, Bi, Ci, Di
Format of (TMGRAi, TMGRBi, TMGRCi, TMGRDi) (i=0, 1) [ Output comparison function].
Address: 0x40042A78
(TMGRA0),
0x40042A7A
(TMGRB0),
After Reset:
FFFFH R/W
0x40042B58 (TMGRC0) , 0x40042B5A (TMGRD0) ,
0x40042A88 (TMGRA1) , 0x40042A8A (TMGRB1) ,
0x40042B5C(TMGRC1), 0x40042B5E(TMGRD1)
Symbol 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TMGRAi
TMGRBi
TMGRCi
TMGRDi
—
function
bit15
~
0
Refer to "Table 10-4 TMGRji Register Function When Using the Output Comparison
Function".
Table 10-4 The TMGRji register function when using the output comparison function
register
Set up
Register function
Output pin for output
comparison
TMBFki
IOj3
TMGRAi
—
—
A general purpose register that must write the comparison
value.
TMIOAi
TMGRBi
TMIOBi
TMGRCi
0
1
A general purpose register that must write the comparison
value.
TMIOCi
TMGRDi
TMIODi
TMGRCi
1
1
Buffer registers, which must write down the next comparison
value
TMIOAi
TMGRDi
TMIOBi
TMGRCi
0
0
TMIOAi output
control
(Refer to "Changes to the Output Pins
of the 10.5.2(2)TMGRCi Register and
the TMGRDi Register (i=0, 1)").
TMIOAi
TMGRDi
TMIOBi output
control
TMIOBi
Note if you put the
TCK2~TCK0
position
of
the TMCRi
register
"000B"
(f
CLK
,
f
HOCO
And set the comparison value
to
"0000H"
to
generate
a
request signal to the
DMA
and
ELC
only after starting the count. If the comparison
value is greater than or equal to
"0001H", a request signal is generated at each time the comparison matches.
Remark
i=0, 1,j=A, B, C, D,k=C, D
TMBFki:
Bits of
TMMR
registers,
IOj3:
Bits of
TMIORCi
registers