BAT32G1x9 user manual | Chapter 10 Timer M
387 / 1149
Rev.1.02
Fig 10-55 PWM Example of running a feature (duty cycle 0% and 100%)
TMi
寄存器的值
TSTRATi
bit of
TMSTR
register
TMIOBi output
TMGRBi
register
IMFA bit of
TMSRi register
IMFB bit of
TMSRi register
因为不发生
TMGRBi
寄存器的比较匹配,
所以
TMIOBi
不输出
L
电平
value in TMi register
set to 0 via program
set to 0 via program
modified via program
TMIOBi will not output "L" voltage level since
TMGRBi register compare matching did not
occur.
duty cycle of 0%
Time
TSTRATi bit of
TMSTR register
TMIOBi output
TMGRBi register
IMFA bit of
TMSRi register
IMFB bit of
TMSRi register
if both TMGRAi and TMGRBi register compare matching occur
at the same time, TMGRBi register compare matching takes
the priority, TMIOBi output "L" voltage level unchanged).
TMIOBi will not output "L" voltage level
(unchanged) when TMGRBi register compare
matching occurs.
modified via program
set to 0 via program
set to 0 via program
duty cycle of 100%
Time
value in TMi register
Note: i=0,1
m: The setting value of the TMGRAi register
The conditions in the above figure are as follows:
The EBi bit of the TMOER1 register is "0" (TMOBi output is allowed).
The POLB bit of the TMPOCRi register is "0" (the "L" level is active).