GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
PIG / V8-6-0
Constituent: pig_power     Tag: mv2304
Interface Data Structures File List Data Fields Globals
power.h File Reference
SIB power register manipulation routines. More...
#include "PIG/structs.h"
Include dependency graph for power.h:
This graph shows which files directly or indirectly include this file:
Detailed Description
SIB power register manipulation routines.
- Author:
- James Swain - jswain@slac.stanford.edu
history 08 Oct 2004: Prepare for first public release. Add history block 08 Oct 2004: JS - Add delay after power on. Implemented as a static var initialised by a default (provided by #define). Also supplied is a function to override the default 14 Oct 2004: Moved the PIG_get_epus function into pig_flying (pig.h)
Function Documentation
unsigned PIG_power_check |
( |
void |
|
) |
|
|
|
Read back the state of the SIB power register.
- Returns:
- State of the power register
- Warning:
- This function reads from the memory mapped PCI space of the SIB and should only be called on a system with a SIB
|
void PIG_power_off |
( |
void |
|
) |
|
|
|
Set the SIB power register to 0.
- Warning:
- This function writes into the SIB memory mapped PCI space and should only be called on a system with a SIB
|
|
Write to the power register on the SIB.
- Parameters:
-
| cfg | SIU configuration structure |
- Warning:
- This function writes into the SIB memory mapped PCI space and should only be called on a system with a SIB
|
void PIG_power_set_delay |
( |
unsigned |
delay |
) |
|
|
|
Override the default PIG power-on delay.
- Parameters:
-
| delay | Number of clock ticks to wait after hitting the PCI power register |
|
Generated on Tue Dec 6 20:37:03 2005 by
1.4.4