BAT32G1x9 user manual | Chapter 10 Timer M
363 / 1149
Rev.1.02
Table 10-8 TMGRji register functions in PWM3 mode
register
Set up
Register function
PWM output pin
TMGRA0
—
General Purpose registers, the PWM period must be set.
Setting range: The setting value of the TMGRA1 register ≤ the
setting value of TMGRA0
TMIOA0
TMGRA1
A general purpose register where the change point of the PWM
output must be set (the timing of becoming the effective level).
Setting range: The setting v
alue of TMGRA1 ≤ the setting value of
the TMGRA0 register
TMGRB0
A general purpose register where the point of change of the PWM
output must be set (the timing of returning to the initial output level).
Setting range: The setting value of the TMGRB1 re
gister ≤ the
setting value of TMGRB0 ≤
The setting value of the TMGRA0 register
TMIOB0
TMGRB1
A general purpose register where the change point of the PWM
output must be set (the timing of becoming the effective level).
Setting range: The setting value o
f TMGRB1 ≤ the setting value of
the TMGRB0 register
TMGRC0
TMBFC0=0
(Not used in PWM3 mode).
—
TMGRC1
TMBFC1=0
TMGRD0
TMBFD0=0
TMGRD1
TMBFD1=0
TMGRC0
TMBFC0=1
Buffer register, the next PWM period must be set (refer to "10.4.2
Buffer Run"). Setting range: The setting value of the TMGRC1
register ≤ the setting value of TMGRC0
TMIOA0
TMGRC1
TMBFC1=1
Buffer register, the change point of the next PWM output must be
set (see "10.4.2 Buffer Run").
Setting range: The setting value of TMGRC1 ≤ the setting value of
the TMGRC0 register
TMGRD0
TMBFD0=1
Buffer register, the change point of the next PWM output must be
set (see "10.4.2 Buffer Run").
Setting range: TMGRD1 register ≤ TMGRD0 set value ≤
The setting value of the TMGRC0 register
TMIOB0
TMGRD1
TMBFD1=1
Buffer register, the change point of the next PWM output must be
set (see "10.4.2 Buffer Run").
Setting range: The setting value of TMGRD1 ≤ the setting value of
the TMGRD0 register
Note if you put the TCK2~TCK0 position of the TCK0 register "000B" (fCLK, fHOCO And set the comparison value to
"0000H" to generate a request signal to the DMA and EVENTC 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
TMBFC0,
TMBFD0,
TMBFC1,
TMBFD1:
Bits of the
TMMR register