MPC563XM Reference Manual, Rev. 1
904
Freescale Semiconductor
Preliminary—Subject to Change Without Notice
23.4.9.3.5
Write Channel Match and UDCM Registers
Match registers can have their values changed using ERW1 and ERW2 fields (1 bit each). They also set
their respective MRLE register (see
Section 23.4.5.2, “Match Recognition
ERW1 can also be used to program the UDCM register (see
Section , “UDCM - User Defined Channel
). The field CMW selects where the contents of ERT1 is copied when ERW1 is active (see
).
If ERT1 or ERT2 is a destination of an ALU operation and, at the same time, the respective ERW1/2 field
is active, the new ERT1 value is the one written into the Match1/2 register or the UDCM register.
23.4.9.3.6
Clear Transition/Match Event Registers
Flags MRL1, MRL2, TDL1 and TDL2 (see
Section 23.4.5.1.1, “ER - Event Registers
) indicate the state
of matches and transitions detected in the selected channel, and it is possible to clear those flags using the
microcode fields MRL1, MRL2 (1 bit each) and TDL (1 or 2 bits, depending on the format). The flags
cleared by these microcode fields are the actual channel flags, and also the ones sampled into the branch
logic.
TDL can be one or two bits wide, depending on the microinstruction format (see
). Two-bit TDL allows independent clearing of TDL1 and/or TDL2.
defines the two-bit TDL field.
01
x
set signal high
10
x
set signal low
11
x
don’t change signal state
Table 23-83. Write Match1/2 - ERW1/2
Field
CMW
Value
Action
ERW1
1
0
write ERT1 value in Match1. Enable matches for Match1 register (MRLE1=1)
0
0
write ERT1 value into UDCM
1
1
don’t change UDCM, Match1 and MRLE1
0
1
reserved
ERW2
1
0
write ERT2 value in Match2. Enable matches for Match2 register (set MRLE2=1)
1
1
don’t change Match2 and MRLE2
0
0
0
reserved
Table 23-84. Clear Transition/Match Event Registers - MRL1/2, TDL
Field
Meaning
MRL1
0 = clear MRL1 event register, 1 = don’t change
Table 23-82. Immediate Pin State Control - PSC and PSCS
PSC
PSCS
Meaning