MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
803
Preliminary—Subject to Change Without Notice
•
a 24-bit Capture register (Capture1 or Capture2), which samples the selected capture time base
(TCR1 or TCR2)
•
a Time Base Selection register (TBS1 or TBS2)
•
a Match Recognition status flag (or latch) (MRL1 or MRL2)
•
a Match Recognition Enable latch (MRLE1 or MRLE2)
•
a Transition Detection flag (or latch) (TDL1 or TDL2)
•
a Transition Continuous Capture enable (TCCE1 only)
ER1 and ER2 are associated with the first and second events in double action modes, not necessarily in
that order. The order of Match events associated with ER1 and ER2 depends on the programmed channel
mode, the Match1 and Match2 values, and the timebases selected by TBS1 and TBS2. Similarly, the order
of Transition events associated with ER1 and ER2 depends on the programmed channel mode, and the
transition detection selected by IPAC1 and IPAC2.
These registers are directly or indirectly accessed by the microcode. TBS1 and TBS2 registers are defined
in
Section , “TBS1 and TBS2 - Time Base Selection Registers
.” The other registers are explained in
Section 23.4.5.2, “Match Recognition
Section 23.4.5.3, “Transition Detection and Time Base
Access to the Event Registers is qualified by the channel currently selected by the microengine (i.e., the
channel value currently in the CHAN register). During the channel transition period (automatic CHAN
assignment), or whenever CHAN is written by microcode, Capture values of the new selected channel are
sampled into Microengine registers ERT1 and ERT2, therefore becoming visible to the microcode. At the
same time, updated values of MRL1, MRL2, TDL1 and TDL2 are sampled into the branch logic, making
the register values and the flags coherent with respect to each other and with the thread selected by the
Scheduler
1
.
NOTE
The Function Mode bits are also sampled from the Host interface on Time
Slot Transition, so that they remain constant to microengine even when Host
changes them.
During service, the microcode can access updated values of the Event Registers of any channel by writing
the channel number to CHAN. Writing CHAN with the same value (CHAN := CHAN) updates ERT1 and
ERT2 with the new captured values, the branch logic with updated MRL1/2 and TDL1/2 flags. Writing
CHAN with a different value does the same with the values from the newly selected channel.
Match values are also accessed through ERT1 and ERT2 Microengine registers, which are copied to/from
the channel Match1 and Match2 registers by specific microinstruction operations.
Microcode writes to the flags and selections (MRL1/2, TDL1/2 and TBS1/2) are immediately effective to
the channel. The MRL1/2 and TDL1/2 branch conditions are also immediately reset when their
correspondent flags are reset by microcode. Match registers are indirectly written by microcode through
ERT1/2. MRLE1/2 is unconditionally asserted when respective Match register is updated from ERT1/2,
and its negation is immediate.
1.
the thread selected is determined by the Entry Point which, in turn, is determined partially by the channel latches. See
Section 23.4.1.1.2, “Entry Point Address Generation
.”
Содержание MPC5632M
Страница 22: ...MPC563XM Reference Manual Rev 1 22 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 62: ...MPC563XM Reference Manual Rev 1 62 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 92: ...MPC563XM Reference Manual Rev 1 92 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 168: ...MPC563XM Reference Manual Rev 1 168 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 242: ...MPC563XM Reference Manual Rev 1 242 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 302: ...MPC563XM Reference Manual Rev 1 302 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 410: ...MPC563XM Reference Manual Rev 1 410 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 440: ...MPC563XM Reference Manual Rev 1 440 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 464: ...MPC563XM Reference Manual Rev 1 464 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 554: ...MPC563XM Reference Manual Rev 1 554 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 590: ...MPC563XM Reference Manual Rev 1 590 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 622: ...MPC563XM Reference Manual Rev 1 622 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 716: ...MPC563XM Reference Manual Rev 1 716 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1114: ...MPC563XM Reference Manual Rev 1 1114 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1144: ...MPC563XM Reference Manual Rev 1 1144 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1266: ...MPC563XM Reference Manual Rev 1 1266 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1316: ...MPC563XM Reference Manual Rev 1 1316 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1348: ...MPC563XM Reference Manual Rev 1 1348 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1362: ...MPC563XM Reference Manual Rev 1 1362 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1382: ...MPC563XM Reference Manual Rev 1 1382 Freescale Semiconductor Preliminary Subject to Change Without Notice ...