GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V8-8-1
Constituent: pig_flying     Tag: linux-gcc
#include "PIG/pig.h"
#include "LEM/defs.h"
#include "PIG_DB/schema.h"
Include dependency graph for pig_p.h:
This graph shows which files directly or indirectly include this file:
Functions | |
void | delay_off (void) |
Delay the task for pig_off_delay 60ths of a second. | |
void | delay_on (void) |
Delay the task for pig_on_delay 60ths of a second. | |
unsigned | get_epu_id (unsigned index) |
Maps an index to an EPU id (part of the machinery that allows the specification of a power on order). | |
unsigned | get_free_id (unsigned index) |
Maps an index to an FREE id (part of the machinery that allows the specification of a power on order). | |
unsigned | get_tem_id (unsigned index) |
Maps an index to an TEM id (part of the machinery that allows the specification of a power on order). | |
Variables | |
static const unsigned | tem_cru [N_TEM] |
Put the CRU masks of the TEMs into an array so that they can be indexed by TEM id. | |
static const unsigned | tem_addr [N_TEM] |
Put the logical addresses of the TEMs into an array so that they can be indexed by TEM id. | |
static const unsigned | epu_cru [N_EPU] = {CRU_MASK_EPU_0, CRU_MASK_EPU_1, CRU_MASK_EPU_2} |
Put the CRU masks of the EPUs into an array so that they can be indexed by EPU id. | |
static const unsigned | epu_addr [N_EPU] = {LEM_ADDR_EPU_0, LEM_ADDR_EPU_1, LEM_ADDR_EPU_2} |
Put the logical addresses of the EPUs into an array so that they can be indexed by EPU id. | |
static const unsigned | pdu_addr [N_PDU] = {LEM_ADDR_PDU_0, LEM_ADDR_PDU_1} |
Put the logical addresses of the PDUs into an array so that they can be indexed by PDU id. | |
static const unsigned | pdu_cru [N_PDU] = {CRU_MASK_PDU_0, CRU_MASK_PDU_1} |
Put the CRU masks of the PDUs into an array so that they can be indexed by PDU id. |
|
Maps an index to an EPU id (part of the machinery that allows the specification of a power on order).
|
|
Maps an index to an FREE id (part of the machinery that allows the specification of a power on order).
|
|
Maps an index to an TEM id (part of the machinery that allows the specification of a power on order).
|
|
Initial value: {LEM_ADDR_TEM_0, LEM_ADDR_TEM_1, LEM_ADDR_TEM_2, LEM_ADDR_TEM_3, LEM_ADDR_TEM_4, LEM_ADDR_TEM_5, LEM_ADDR_TEM_6, LEM_ADDR_TEM_7, LEM_ADDR_TEM_8, LEM_ADDR_TEM_9, LEM_ADDR_TEM_A, LEM_ADDR_TEM_B, LEM_ADDR_TEM_C, LEM_ADDR_TEM_D, LEM_ADDR_TEM_E, LEM_ADDR_TEM_F}
|
|
Initial value: {CRU_MASK_TEM_0, CRU_MASK_TEM_1, CRU_MASK_TEM_2, CRU_MASK_TEM_3, CRU_MASK_TEM_4, CRU_MASK_TEM_5, CRU_MASK_TEM_6, CRU_MASK_TEM_7, CRU_MASK_TEM_8, CRU_MASK_TEM_9, CRU_MASK_TEM_A, CRU_MASK_TEM_B, CRU_MASK_TEM_C, CRU_MASK_TEM_D, CRU_MASK_TEM_E, CRU_MASK_TEM_F}
|