BAT32G1x9 user manual | Chapter 10 Timer M
321 / 1149
Rev.1.02
10.3.6
Timer M function control register (TMFCR).
Figure 10-7 Timer M function control register (TMFCR) format
Address: 0x40042A66
Reset:
80H R/W
symbol
TMFCR
PWM3
PWM3 mode selection
note
1
• In timer mode, "1" (not PWM3 mode) must be set.
• In PWM3 mode, "0" (PWM3 mode) must be set.
• Not valid in reset synchronous
PWM
mode and complementary
PWM
mode.
STCLK
Selection of external clock inputs
• Timer mode, reset synchronous
PWM
mode, complementary
PWM
mode
0: The external clock input is invalid
1: The external clock input is valid
• In
PWM3 mode, "0"
must be set
(the external clock input is invalid).
OLS1
Selection of inverting output levels (reset synchronous PWM
mode or complementary
PWM
mode
).
• Reset synchronous
PWM
mode, complementary
PWM
mode
0: Initial output
"H"
level,
"L"
level is valid.
1: Initial output
"L"
level,
"H"
level is active.
• Not valid in timer mode and
PWM3
mode.
OLS0
Selection of normal-phase output levels (reset synchronous PWM
mode or complementary
PWM
mode
).
• Reset synchronous
PWM
mode, complementary
PWM
mode
0: Initial output
"H"
level,
"L"
level is valid.
1: Initial output
"L"
level,
"H"
level is active.
• Not valid in timer mode and
PWM3
mode.
CMD1
CMD0
Select
Notes
2
and
3
for the combination mode
• In timer mode and PWM3 mode, "00B" (timer mode or PWM3 mode) must be set.
• In reset synchronous PWM mode, "01B" (Reset synchronous PWM mode) must be set.
• Complementary PWM models
CMD1 CMD0
10 : Complementary PWM mode (data is transferred from the buffer register to the general purpose
register in the event of a underflow in TM1).
11 : Complementary PWM mode (data is transferred from the buffer register to the general-
purpose register when the TM0 and TMGRA0 registers are relatively matched).
Other than the above: Prohibit settings.
Note 1 When cmD1 bit and CMD0 bit are "00B" (timer mode or PWM3 mode), the PWM3 bit setting is
valid.
2. CMD0 bits and CMD1 must be written when both TSTART0 bits and TSTART1 bits of the TMSTR
register are "0" (stop count). Bit.
3. When the CMD1 bit and CMD0 bits are "01B", "10B", or "11B", it is independent of the setting of the
TMPMR register, for reset synchronous PWM mode or complementary PWM mode
.
7
6
5
4
3
2 1
0
HPM3
STCLK
0
0
The LS1
OLS0
CMD1
CMD0