www.geehy.com Page 107
Figure 34 Timing Diagram in Single-pulse Mode
t
DELAY
t
PULSE
AUTORLD
CCx
OCxREF
OCx
Impact of the Register on Output Waveform
The following registers will affect the level of the timer output waveform. For
details, please refer to "Register Functional Description".
(
1
)
CCxEN and CCxNEN bits in TMRx_CCEN register
CCxNEN=0 and CCxEN=0: The output is turned off (output disabled,
invalid state)
CCxNEN=1 and CCxEN=1: The output is turned on (output enabled,
normal output)
(
2
)
MOEN bit in TMRx_BDT register
MOEN=0: Idle mode
MOEN=1: Run mode
(
3
)
OCxOIS and OCxNOIS bits in TMRx_CTRL2 register
OCxOIS=0 amd OCxNOIS=0: When idle (MOEN=0), the output level
after the dead-time is 0
OCxOIS=1 amd OCxNOIS=1: When idle (MOEN=0), the output level
after the dead-time is 1
(
4
)
RMOS bit in TMRx_BDT register
Application environment of RMOS: In corresponding complementary
channel and timer run mode (MOEN=1), the timer is not working
(CCxEN=0, CCxNEN=0) or is working (CCxEN=1, CCxNEN=1)
(
5
)
IMOS bit in TMRx_BDT register
Application environment of IMOS: In corresponding complementary
channel and timer are in idle mode (MOEN=0), the timer is not working
(CCxEN=0, CCxNEN=0) or is working (CCxEN=1, CCxNEN=1)
(
6
)
CCxPOL and CCxNPOL bits of TMRx_CCEN register
CCxPOL=0 and CCxNPOL=0: Output polarity, high level is valid
CCxPOL=1 and CCxNPOL=1: Output polarity, the low level is valid
The following figure lists the register structure relationships that affect the output
waveform