
P5040/P5020 Reference Design Board User Guide, Rev. 0
52
Freescale Semiconductor
Programming Model
7.1.4
General Control/Status Register (PX_CSR)
The general control/status register contains various control and status fields; see
Figure 25. General Control/Status Register (PX_CSR)
7.1.5
Reset Control Register (PX_RST)
The reset control register can be used to reset all or part of the system; see
. Register-based resets
merge with others internal resets; for example, the VELA sequencer. The setting of bits during a VELA
configuration cycle can have unpredictable results.
Figure 26. Reset Control Register (PX_RST)
0
1
2
3
4
5
6
7
R
EVESRC
9999
LED
FAIL
W
Reset
0
X
X
X
0
0
0
0
Offset
0x03
Table 30. PX_CSR Field Descriptions
Bits
Name
Description
0–2
33EVESRC
• Selects one of several inputs for mapping to an internal signal, “esig”.
• “esig”, in turn, can connect to special outputs; see “EVEDEST” below.
–
000esig <- event_b
–
001esig <- trig_out
–
010esig <- evt_b(2)
–
011esig <- evt_b(3)
–
111esig <- chkstpi_b
3–53
EVEDEST
• Selects the output pin.
• “esig” is driven to a selected output pin; see “EVESRC” (bits 0-2).
–
001esig -> trig_in
–
010esig -> evt_b(7)
–
011esig -> evt_b(8)
–
100esig -> evt_b(9)
6
LED
• Set: PX_LED register value drives diagnostic LEDs.
• Unset: LEDs default to activity monitors; see “Debug” section.
7
FAIL
• Set/Fail: external LED (“FAIL”) is lighted while “PASS” LED is unlighted.
• Unset/Clear: “PASS” LED is lighted while “FAIL” LED is unlighted.
0
1
2
3
4
5
6
7
R
ALL
—
—
—
SXSLOT
PHY
—
GEN
W
Reset
1
1
1
1
1
1
1
1
Offset
0x04