
P4080 Development System User’s Guide, Rev. 0
48
Freescale Semiconductor
Programming Model
7.1.4
General Control/Status Register (PX_CSR)
The general control/status register (PX_CSR) contains various control and status fields, as described
below.
7.1.5
Reset Control Register (PX_RST)
The reset control register (PX_RST) may be used to reset the system, or portions of it.
Offset 0x03
Access: Read/Write
0
2
3
5
6
7
R
EVESRC
EVEDEST
LED
FAIL
W
Reset
0
n
n
n
0
0
0
0
Figure 29. General Control/Status Register (PX_CSR)
Table 26. PX_CSR Field Descriptions
Bits
Name
Description
0–2
EVESRC
Selects one of several inputs for mapping to internal signal
esig, which in turn may be connected to
special outputs (see PIX_CSR[EVEDEST]).
000 esig <- event_b
001 esig <- trig_out
010 esig <- evt_b(2)
011 esig <- evt_b(3)
111 esig <- chkstpi_b
3–5
EVEDEST
Selects the output pin to which the internal signal
esig is driven (see PIX_CSR[EVESRC] for details).
001 esig -> trig_in
010 esig -> evt_b(7)
011 esig -> evt_b(8)
100 esig -> evt_b(9)
6
LED
If set, the diagnostic LEDs are driven by the value in the PX_LED register; otherwise, the LEDs
default to activity monitors
7
FAIL
If set, the external LED labeled “FAIL” is turned on and the one labeled “PASS” is off; otherwise, if
cleared, the opposite is true.
Offset 0x04
Access: Read/Write
0
1
3
4
5
6
7
R
ALL
—
SXSLOT
PHY
—
GEN
W
Reset
All ones
Figure 30. Reset Control Register (PX_RST)