
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
849
Output Pin Control Logic and Pin State Output Register – PSTO
The output signal control logic uses OPACA/B, the Pre-defined Channel Mode (PDCM) and the User
Defined Channel Mode (UDCM), and the microcode Pin State Control (PSC and PSCS) fields. It is
responsible for setting the Pin State Output (PSTO) register to the specified logic value required by
microcode, by input events, or by Match A and/or Match B events. The PSTO register stores the driven
pin state determined by the Pin Control logic. The Output Buffer Enable signal, if used at MCU
integration, must be set by microcode (using TBSA field) to make the pad propagate the PSTO register
output to the actual pin.
PSTO register output also goes to the microengine branch logic, enabling branching on the driven pin state
(see
). PSTO is set to 0 on reset.
The PSC and PSCS microcode fields are used for setting the PSTO register to a fixed value, or to the value
specified by the OPACA or OPACB microcode field, as shown in
For details refer to
Section 24.5.9.3, Channel control and configuration microoperations
On occurrence of match recognitions or transition detections, the pin control logic sets PSTO value
according to the event number (Match A/Transition A or Match B/Transition B) and the contents of
OPACA/IPACA or OPACB/IPACB registers. There are cases in which two match or transition events may
occur at the same time, each of them trying to force a different pin action. The resolution of the selected
match event which sets the value depends on the Pre-defined Channel Mode (PDCM) register and the User
Defined Channel Mode (UDCM). For details refer to
Section , Match/Transition Pin Action Conflict
PSTI and PSS – Pin State Input and Pin Sampled State Registers
During the time slot transition period, or whenever the CHAN register is written by microcode, the
filtered
1
input signal PSTI or output signal PSTO (selected by the ETPU_CxCR bit ETPD) is sampled into
the branch logic as the PSS flag (see
and
). The microcode can then branch on
either the currently driven (PSTO) or input (PSTI) pin state, or on sampled pin state (PSS, which is stable
as long as CHAN does not change).
2
On the microinstruction fields IPACA/B and OPACA/B this value is neutral, meaning that
IPAC/OPAC register values are not changed.
Table 24-45. PSC and PSCS encoding
PSC
Output Pin Action
00
Force pin state according to
OPACA (PSCS = 0) or OPACB (PSCS = 1).
01
Force pin high.
10
Force pin low.
11
Do not change pin state.
1. The filter can be bypassed.
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...