
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
853
PDCM – Predefined Channel Mode
PDCM determines the channel mode assigned to the channel. Channel mode defines much of the channel
logic behavior, specially how matches blocks and enables transitions and vice-versa, as well as occurrence
of time base captures and service requests based on matches and transitions. For a complete description
see
Section 24.5.5.4, Channel Modes
PDCM is a 4-bit register set by the microcode field of the same name (see
Section 24.5.9.3.9, Predefined
), and cannot be read or tested in branch instructions.
relates the PDCM value
with channel modes. The second column specifies the mnemonic used to reference the mode, introduced
in
Section 24.5.5.4.2, Channel modes overview
. There is one PDCM for each channel, initialized with
1100 on reset.
PDCM is also used to select the User Programmable Channel Mode. If this selection is made, the channel
behavior is defined by the settings of the UDCM register (see
Section , UDCM – User Defined Channel
Branch using MRLA/B, TDLA/B, Flag0/1
1
YES
Branch on all other conditions
2
No
ERTA/B value
YES
Configure (selected) channel
YES
Channel commands applied to: MRLA/B, TDLA/B, TBSA/B, IPACA/B,OPACA/B, PSC, PSCS, OBE,
PDCM, MRLE, Flag0/1
YES
Channel command: set/reset SRI
YES
Channel command: write to Match registers (ERWA/B)
YES
3
Channel command: read Match registers into ERTA/B
YES
Clear LSR
No
Channel interrupts and data transfer requests (CIRC)
opTionally
1
In TPU, these conditions retained the old values.
2
Refer to
Section 24.5.9.4.2, Branch operations
3
If write Match (ERWA/B) occurs at the same time of a CHAN assignment, the channel which is target of the write
is the one selected by the new CHAN value. See
Section 24.5.9.6.5, CHAN assignment, Read Match and ERWA/B
Table 24-49. PDCM encoding
PDCM
Channel mode
0000
em_b_st
0001
em_b_dt
0010
em_nb_st
0011
em_nb_dt
Table 24-48. CHAN-selected features
Feature used
Selected by
CHAN
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...