English
Language : 

PXS20RM Datasheet, PDF (698/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Flexible Motor Control Pulse Width Modulator Module (FlexPWM)
1 = One shot mode is selected.
If both capture circuits are enabled, then capture circuit 0 is armed first after the ARMX bit is
set. Once a capture occurs, capture circuit 0 is disarmed and capture circuit 1 is armed. After
capture circuit 1 performs a capture, it is disarmed and the ARMX bit is cleared. No further
captures will be performed until the ARMX bit is set again.
If only one of the capture circuits is enabled, then a single capture will occur on the enabled
capture circuit and the ARMX bit is then cleared.
0 = Free running mode is selected
If both capture circuits are enabled, then capture circuit 0 is armed first after the ARMX bit is
set. Once a capture occurs, capture circuit 0 is disarmed and capture circuit 1 is armed. After
capture circuit 1 performs a capture, it is disarmed and capture circuit 0 is re-armed. The
process continues indefinitely.
If only one of the capture circuits is enabled, then captures continue indefinitely on the enabled
capture circuit.
ARMX - Arm X
Setting this bit high starts the input capture process. This bit can be cleared at any time to disable input
capture operation. This bit is self cleared when in one shot mode and the enabled capture circuit(s) has
had a capture event(s).
1 = Input capture operation as specified by the EDGX bits is enabled.
0 = Input capture operation is disabled.
25.4.3.19 Capture Compare X Register (CAPTCMPX)
PWM_SUB_
BASE+$32
0
Read
Write
Reset
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
EDGCNTX
EDGCMPX
000000000000000
Figure 25-54. Capture Compare X Register (CAPTCMPX)
EDGCNTX - Edge Counter X
This read only field contains the edge counter value for the PWMX input capture circuitry.
EDGCMPX - Edge Compare X
This read/write field is the compare value associated with the edge counter for the PWMX input
capture circuitry.
25-52
PXS20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor