GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LPA / dev > lpa_siu / rhel5-64
#include <LPA/LPA_tlmdefs.h>
Classes | |
struct | _LPA_MsgHdr |
LPA Message Header. More... | |
struct | _LPA_CompleteMsg |
Physics run completion message. More... | |
struct | _LPA_ConfirmedMsg |
The GRB_Confirmed Message. More... | |
struct | _LPA_FinishedMsg |
The GRB_Finished Message. More... | |
struct | _LPA_SuspectedMsg |
The GRB_Suspected Message. More... | |
Defines | |
#define | LPA_COMPLETE_FCODE 0xf0 |
LPA Physics Completion Function Code. | |
#define | LPA_CONFIRM_FCODE 0xf1 |
LPA GRB_Confirmed Function Code. | |
#define | LPA_FINISH_FCODE 0xf2 |
LPA GRB_Finished Function Code. | |
#define | LPA_SUSPECT_FCODE 0xf3 |
LPA GRB_Suspected Function Code. | |
Typedefs | |
typedef struct _LPA_MsgHdr | LPA_MsgHdr |
Typedef for structure _LPA_MsgHdr. | |
typedef struct _LPA_CompleteMsg | LPA_CompleteMsg |
Typedef for structure _LPA_CompleteMsg. | |
typedef struct _LPA_ConfirmedMsg | LPA_ConfirmedMsg |
Typedef for structure _LPA_ConfirmedMsg. | |
typedef struct _LPA_FinishedMsg | LPA_FinishedMsg |
Typedef for structure _LPA_FinishedMsg. | |
typedef struct _LPA_SuspectedMsg | LPA_SuspectedMsg |
Typedef for structure _LPA_SuspectedMsg. | |
Functions | |
unsigned int | LPA_siu_init (void) |
Initialize the LPA system on the SIU. | |
unsigned int | LPA_siu_start (void) |
Start the LPA system. | |
unsigned int | LPA_set_mode (unsigned int mode) |
Set current mode. | |
unsigned int | LPA_gbm_int (void) |
Notify LPA of a GBM interrupt. | |
void | LPA_get_siu_tlm (LPA_SIUCFG_Tlm *pkt) |
Get current telemetry packet data. |
CVS $Id: LPA_siu.h,v 1.12 2011/03/28 22:24:21 russell Exp $
unsigned int LPA_gbm_int | ( | void | ) |
Notify LPA of a GBM interrupt.
LPA_ERROR | Failure | |
LPA_SUCCESS | Success |
References LPA_send_cpus().
void LPA_get_siu_tlm | ( | LPA_SIUCFG_Tlm * | pkt | ) |
Get current telemetry packet data.
LPA_ERROR | Failure | |
LPA_SUCCESS | Success |
References _LPA_Siu::db_id, _LPA_Siu::db_run, _LPA_SIUCFG_Tlm::def_dbid, _LPA_SIUCFG_Tlm::def_ignid, _LPA_SIUCFG_Tlm::def_latcid, _LPA_SIUCFG_Tlm::epu, _LPA_Siu::epu_enab, _LPA_SIUCFG_Tlm::gbm, _LPA_Siu::gbm_enab, _LPA_Siu::grb_id, _LPA_SIUCFG_Tlm::grb_id, _LPA_Siu::ignore_id, _LPA_Siu::ignore_key, _LPA_Siu::ignore_run, _LPA_SIUCFG_Tlm::last_dbid, _LPA_SIUCFG_Tlm::last_ignid, _LPA_SIUCFG_Tlm::last_ignkey, _LPA_SIUCFG_Tlm::last_latcid, _LPA_SIUCFG_Tlm::last_latckey, _LPA_SIUCFG_Tlm::last_mode, _LPA_SIUCFG_Tlm::last_run, _LPA_SIUCFG_Tlm::last_start, _LPA_Siu::latc_id, _LPA_Siu::latc_key, _LPA_Siu::latc_run, _LPA_Siu::mode, _LPA_Siu::run_id, _LPA_Siu::sim_intv, _LPA_SIUCFG_Tlm::sim_intv, _LPA_Siu::sim_mode, _LPA_SIUCFG_Tlm::sim_mode, _LPA_Siu::sim_rpt, _LPA_SIUCFG_Tlm::sim_rpt, and _LPA_Siu::start_time.
unsigned int LPA_set_mode | ( | unsigned int | mode | ) |
Set current mode.
LPA_ERROR | Failure | |
LPA_SUCCESS | Success |
References _LPA_Siu::cpus, and LPA_send_cpus().
unsigned int LPA_siu_init | ( | void | ) |
Initialize the LPA system on the SIU.
LPA_SUCCESS | Success |
References _LPA_Siu::cmdRsp, _LPA_SetGrb_Prm::cpus, _LPA_Siu::crx_fcb, _LPA_Siu::ctx_fcb, _LPA_SetDefault_Prm::db, _LPA_SetGrb_Prm::epu, _LPA_SetGrb_Prm::gbm, _LPA_SetGrb_Prm::grb, _LPA_SetDefault_Prm::ignore, _LPA_SetGrb_Prm::intv, _LPA_Siu::itc_task, _LPA_SetDefault_Prm::latc, LPA_Apid660, LPA_Apid674, LPA_Apid675, LPA_K_SIU_RESET_FORMAT_0, LPA_proc_bulk(), LPA_proc_ctl(), _LPA_SetGrb_Prm::mode, _LPA_SetGrb_Prm::rpt, _LPA_Siu_Reset::setdef, _LPA_Siu_Reset::setgrb, _LPA_Siu::siu_fpm, _LPA_Siu::siu_reset, _LPA_Siu::state, _LPA_Siu::tlm_fpm, _LPA_Siu::trd, _LPA_GRBPRMVALID::us, _LPA_LATCPRMVALID::us, _LPA_SetGrb_Prm::valid, _LPA_SetDefault_Prm::valid, and _LPA_Siu::wut.
unsigned int LPA_siu_start | ( | void | ) |
Start the LPA system.
LPA_ERROR | Failure | |
LPA_SUCCESS | Success |
References _LPA_Siu::itc_task, and _LPA_Siu::state.