
CP3005-SA – Rev. 0.6 Preliminary
// 43
4.3.15.
LED Control Register (LCTRL)
The LED Control Register enables the user to switch on and off the front panel General Purpose LEDs.
Table 27: LED Control Register (LCTRL)
Address
0x291
Bit
7
6
5
4
3
2
1
0
Name
LCMD
LCOL
Access
R/W
R/W
Reset
0000
0000
Bitfield
Description
7 - 4
LCMD
LED command:
0000 = Get LED0
1000 = Set LED0
0001 = Get LED1
1001 = Set LED1
0010 = Get LED2
1010 = Set LED2
0011 = Get LED3
1011 = Set LED3
0100 - 0111 = Reserved
1100 - 1111 = Reserved
3 - 0
LCOL
LED color:
0000 = Off
0001 = Green
0010 = Red
0011 = Red+Green
0100 - 1111 = Reserved
The LED Control Register can only be used if the General Purpose LEDs indicated in the “LED
Configuration Register” are configured in General Purpose Mode. The status of certain LEDs
can be obtained by writing a “Get LEDX” command where “x” is the LED number (color bits
are ignored) followed by a simple read.
4.3.16.
General Purpose Output Register (GPOUT)
The General Purpose Output Register holds the general purpose output signals of the rear I/O CompactPCI connector
J2. This register can only be used if the CP3005-SA is ordered as a rear I/O version and the rear I/O GPIO operation is
configured through the dedicated rear transition module configuration signal on the CompactPCI connector J2.
Table 28: General Purpose Output Register (GPOUT)
Address
0x292
Bit
7
6
5
4
3
2
1
0
Name
Reserved
R
00000
GPO2
GPO1
GPO0
Access
R/W
R/W
R/W
Reset
0
0
00
Bitfield
Description
2 - 0
GPO2..0
GPO2..0 General purpose output signals (3.3V LVTTL):
0 = Output low
1 = Output high