GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V8-8-1
Constituent: pig_power     Tag: linux-gcc
#include "PIG/power.h"
#include "taskDelay_p.h"
Include dependency graph for power.c:
Enumerations | |
enum | { PCI_PWR_REG = 0xc1000008 } |
enum | { DEFAULT_PWR_DELAY = 30 } |
Functions | |
void | PIG_power_set_delay (unsigned delay) |
Override the default PIG power-on delay. | |
void | PIG_power_on (PIG_siu_cfg cfg) |
Write to the power register on the SIB. | |
unsigned | PIG_power_check (void) |
Read back the state of the SIB power register. | |
void | PIG_power_off (void) |
Set the SIB power register to 0. | |
Variables | |
static unsigned | pig_power_delay = DEFAULT_PWR_DELAY |
Delay (in clock ticks) to wait for the power to come on after hitting the PCI register. |
|
Read back the state of the SIB power register.
|
|
Set the SIB power register to 0.
|
|
Write to the power register on the SIB.
|
|
Override the default PIG power-on delay.
|