EasyManua.ls Logo

NXP Semiconductors MPC5566 - Page 781

NXP Semiconductors MPC5566
1268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Enhanced Time Processing Unit (eTPU)
MPC5566 Microcontroller Reference Manual, Rev. 2
18-24 Freescale Semiconductor
Table 18-10. ETPU_ECR Field Descriptions
Field Description
0
FEND
Force end. Assertion terminates any current running thread as if an END instruction have been executed. For more
information, refer to the eTPU Reference Manual.
0 Normal operation.
1 Terminates current thread.
This bit is self-negating.
1
MDIS
Module disable internal stop. This is the low power stop bit. When MDIS is set, the engine shuts down its internal
clocks. TCR1 and TCR2 cease to increment, and input sampling stops. The engine asserts the stop flag (STF) bit
to indicate that it has stopped. However, the BIU continues to run, and the host can access all registers except for
the channel registers
1
and writes to time base registers. For more information on channel registers, refer to
Section 18.4.6, “Channel Configuration and Control Registers.” After MDIS is set, even before STF asserts, data
read from the channel registers is not meaningful, a Bus Error is issued, and writes are unpredictable. When the
MDIS bit is asserted while the microcode is executing, the eTPU stops when the thread is complete.
0 eTPU engine runs.
1 Commands engine to stop its clocks.
Stop completes on the next system clock after the stop condition is valid. The MDIS bit is write-protected when
ETPU_MCR[VIS]=1.
Note: After the MDIS has been switched from 1 to 0 or vice-versa, do not switch its value again until STF switches
to the same value.
2 Reserved
3
STF
Stop flag bit. Each engine asserts its stop flag (STF) to indicate that it has stopped. Only then the host can assume
that the engine has actually stopped. The eTPU system is fully stopped when the STF bits of both eTPU engines
are asserted. The engine only stops when any ongoing thread is complete in this case.
0 The engine is operating.
1 The engine has stopped (after the local MDIS bit has been asserted).
Summarizing engine stop conditions, which STF reflects:
STF_A:= (after stop completed) MDIS_A
STF_B:= (after stop completed) MDIS_B
STF_A and STF_B mean STF bit from engine A and STF bit from engine B respectively.
4–7 Reserved
8
HLTF
Halt mode flag. If eTPU engine entered halt state, this flag is asserted. The flag remains asserted while the
microengine is in halt state, even during a single-step or forced instruction execution. Refer to the eTPU Reference
Manual for further details about entering halt mode.
0 eTPU engine is not halted.
1 eTPU engine is halted
9–12 Reserved

Table of Contents

Related product manuals