GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PIG / V10-1-5 > pig_power / rhel6-32


Interface   Data Structures   File List   Data Fields   Globals  

power.h File Reference

SIB power register manipulation routines. More...

#include <PIG/structs.h>

Functions

void PIG_power_set_delay (unsigned delay)
 Set the delay after main power on.
void PIG_power_on (PIG_siu_cfg cfg)
 Write to the power register on the SIB.
void PIG_power_off (void)
 Set the SIB power register to 0.
unsigned PIG_power_check (void)
 Read back the state of the SIB power register.


Detailed Description

SIB power register manipulation routines.

Author:
James Swain & Owen Saxton
$Id: power.h,v 1.9 2011/03/28 17:00:33 saxton Exp $

Function Documentation

unsigned PIG_power_check ( void   ) 

Read back the state of the SIB power register.

Returns:
State of the power register

void PIG_power_off ( void   ) 

Set the SIB power register to 0.

void PIG_power_on ( PIG_siu_cfg  cfg  ) 

Write to the power register on the SIB.

Parameters:
cfg SIU configuration structure

References _PIG_siu_union::cfg, _PIG_siu_cfg::dab_p, _PIG_siu_cfg::dab_s, pig_power_delay, and _PIG_siu_union::ui.

void PIG_power_set_delay ( unsigned  delay  ) 

Set the delay after main power on.

Parameters:
delay Time (in 100ths of a second) to wait after hitting the SIB PCI power register

References pig_power_delay.


Generated on Tue Nov 29 17:15:31 2011 by  doxygen 1.5.8