Enhanced Modular Input/Output Subsystem (eMIOS200)
23-22
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
Figure 23-12. Unified Channel Control Block Diagram
23.4.1.1
Unified Channel Modes of Operation
The mode of operation of the unified channel is determined by the mode select bits MODE in the
EMIOS_CCR[
n
] register (see
for details).
When entering an output mode (except for GPIO mode), the output flip-flop is set to the complement of
the EDPOL bit in the EMIOS_CCR[
n
] register.
As the internal counter EMIOS_CCNTR[
n
] continues to run in all modes (except for GPIO mode), it is
possible to use this as a time base if the resource is not used in the current mode.
In order to provide smooth waveform generation even if A and B registers are changed on the fly, the
MCB, OPWFMB, OPWMB and OPWMCB modes are available. In these modes, the A and B registers
are double-buffered. These modes are presented in separate sections since basic differences exist between
these modes and the MC, OPWFM, OPWM, and OPWMC modes, respectively.
23.4.1.1.1
General-Purpose Input/Output (GPIO) Mode
In GPIO mode, all input capture and output compare functions of the unified channel are disabled, the
internal counter (EMIOS_CCNTR[
n
] register) is cleared and disabled. All control bits remain accessible.
In order to prepare the unified channel for a new operation mode, writing to registers EMIOS_CADR[
n
]
or EMIOS_CBDR[
n
] stores the same value in registers A1/A2 or B1/B2, respectively.
MODE
n
_en
Mode 0
Logic
Mode 1
Logic
Mode
n
Logic
•
•
•
• • •
•
•
•
MODE1_en
MODE0_en
Shared
Logic
Channel
Datapath
Channel Controller
••
Control
Signals
Control Signals
Control Signals
•
•
•
EMIOS_CCR/Mode
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...