BAT32G1x9 user manual | Chapter 10 Timer M
370 / 1149
Rev.1.02
10.4.4
Forced cutoff of the pulse output
When using the PWM function or in reset synchronous PWM mode, complementary PWM mode, and
PWM3 mode, TMIOji can be cut off by the input of the INTP0 pin Pulse output of the output pins (i=0, 1, j=A,
B, C, D).
If the corresponding position of the TMOER1 register is "0" (allowing the output of timer M), the output pins
used in these functions or modes are used as the output pins of timer M. When the TMPTO bit of the TMOER2
register is "1" (the pulse output force-cut signal INTP0 pin input is valid), the TMDF0 register is either TMDF1
registers for DFCK1, DFCK0, PENB1, PENB0, DFD, the output values of the DFC, DFB, and DFA bit settings
are output from the output pins used as the M output port for the timer.
When you use this feature, you must make the following settings:
•Pin state (high impedance,
"L" level output, or "H" level output) when the pulse output is forced to
cut off through the TMDFi registers.
•
For pulse forced cutoff via EVENTC event input, refer to "10.4.5 Events Entered from the Event Linkage
•
At the output of the forced cutoff pulse, the TMOER2 register has a TMSTUTS bit of "1". To abort
the output of the forced cutoff pulse, the TMSTUS position must be "0" in the process of stopping
the counting (TSTARTi=0).
•
Put the TMPTO position of the TMOER2 register "1" (the pulse output force cutoff signal INTP0 pin
is valid).