English
Language : 

PXS20RM Datasheet, PDF (697/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Flexible Motor Control Pulse Width Modulator Module (FlexPWM)
CX1CNT - Capture X1 FIFO Word Count
This field reflects the number of words in the Capture X1 FIFO.
CX0CNT - Capture X0 FIFO Word Count
This field reflects the number of words in the Capture X0 FIFO.
CFXWM - Capture X FIFOs Water Mark
This field represents the water mark level for capture X FIFOs. The capture flags, CFX1 and CFX0,
won’t be set until the word count of the corresponding FIFO is greater than this water mark level.
EDGCNTX_EN - Edge Counter X Enable
This bit enables the edge counter which counts rising and falling edges on the PWMX input signal.
1 = Edge counter enabled.
0 = Edge counter disabled and held in reset.
INPSELX - Input Select X
This bit selects between the raw PWMX input signal and the output of the edge counter/compare
circuitry as the source for the input capture circuit.
1 = Output of edge counter/compare selected as source.
0 = Raw PWMX input signal selected as source.
NOTE
When INPSELX = 1, the internal edge counter is enabled and the rising
and/or falling edges specified by the EDGX0 and EDGX1 fields are
ignored. The software must still place a value other than 00 in either or both
of the EDGX0 and/or EDGX1 fields in order to enable one or both of the
capture registers.
EDGX1 - Edge X 1
These bits control the input capture 1 circuitry by determining which input edges cause a capture event.
• 00 = Disabled.
• 01 = Capture falling edges.
• 10 = Capture rising edges.
• 11 = Capture any edge.
EDGX0 - Edge X 0
These bits control the input capture 0 circuitry by determining which input edges cause a capture event.
• 00 = Disabled.
• 01 = Capture falling edges.
• 10 = Capture rising edges.
• 11 = Capture any edge.
ONESHOTX - One Shot Mode Aux
This bit selects between free running and one shot mode for the input capture circuitry.
Freescale Semiconductor
PXS20 Microcontroller Reference Manual, Rev. 1
25-51