English
Language : 

PXN20RM Datasheet, PDF (874/1376 Pages) Freescale Semiconductor, Inc – PXN20 Microcontroller
Enhanced Modular Input/Output Subsystem (eMIOS200)
The output pin transitions are based on the negedges of the A1 and B1 match signals. Figure 28-48 shows
in cycle(n + 1) the value of the A1 register being set to zero. In this case, the match posedge is used instead
of the negedge to transition the output flip-flop.
Figure 28-49 shows the channel operation for 0% duty cycle. Note that the A1 match posedge signal
occurs at the same time as the B1 = 8 negedge signal. In this case A1 match has precedence over B1 match,
causing the output pin to remain at EDPOL bit value, thus generating a 0% duty cycle signal.
Cycle n
Write to A2
Cycle n + 1
Clock
Prescaler
Selected
Counter Bus
4
1
A1 Value 0x000004
A2 Value
0x000000
B1 Value 0x000008
A1 Match
A1 Match Posedge
Detection
A1 Match Negedge
Detection
B1 Match
B1 Match Negedge
Detection
8
1
0x000000
8
Time
A1 Match Negedge
Detection
A1 Match Posedge Detection
A1 Match Negedge Detection
Output Pin
FLAG Bit Set
EDPOL = 0
Figure 28-49. OPWMB Mode with 0% Duty Cycle
Figure 28-50 shows the operation of the OPWMB mode with the output disable signal asserted. The output
disable forces a transition in the output pin to the EDPOL bit value. After deassertion, the output disable
allows the output pin to transition at the following A1 or B1 match. The output disable does not modify
the flag bit behavior. There is one system clock delay between the assertion of the output disable signal
and the transition of the output pin to EDPOL.
28-52
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor