
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
952
Freescale Semiconductor
24.5.9.4.1
Ending current thread – END
Microcode END field (1 bit) finishes current thread and allows other channels to be serviced. If END field
is 0, the current instruction is completed and the thread is finished. END = 1 has no effect, and the next
microinstruction is executed Any MDU operation (see
Section 24.5.8.3, MAC and Divide Unit (MDU)
)
that could be still pending when the thread is finished is left incomplete. END also releases any semaphore
locked by the engine.
24.5.9.4.2
Branch operations
Branch operations can be
jump
or
call
. The target address of
jump
or
call
microoperations is always
immediate and absolute. Branch microoperation is affected by FLS field (refer to
Selecting jump or call microoperations
The only difference between
jump
and
call
microoperations is that when a
call
is executed the value of PC
or PC+1 (depending on flush, see
Section 24.5.9.4.5, Flush pipeline
) is saved in the RAR. The microcode
field J/C (1 bit) selects whether
jump
or a
call
.
Branch target address
Microcode BAF field (14 bits) indicates the absolute address of a
jump
/
call
target.
Conditional/Unconditional branch
Jump
and
call
can be conditional or unconditional, depending on the BCC (6 bits) and BCF (1 bit) fields,
. BCF determines whether branch is taken when condition
specified by BCC is true or false. When a branch condition uses the channel flags, the channel context is
related to the channel number written in CHAN register.
Table 24-111. Jump / Call Selection – J/C
J/C
Meaning
0
jump
1
call
Table 24-112. Branch Condition Inversion – BCF
BCF
Meaning
0
branch if condition determined by BCC is false
1
branch if condition determined by BCC is true
Table 24-113. Branch Condition Selection – BCC
BCC
Meaning
BCC
Meaning
001110
Flag 0
001111
Flag 1
100000
V ALU flag
110000
PSS channel flag
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...