GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSM / dev > lsm_siu / sun-gcc
#include <PBI/Endianness.h>
Classes | |
struct | _LSM_NODETRANID_Bfl |
Compound of node and transaction ID. More... | |
union | _LSM_NODETRANID |
Union for command bitfield _LSM_NODETRANID_Bfl. More... | |
struct | _LSM_SIATTITUDE_Prm |
SC Attitude Broadcast Message \ APID 0x701 \ function code 1. More... | |
struct | _LSM_SIANCILLARY_Prm |
SC Ancillary Broadcast Message \ APID 0x701 \ function code 2. More... | |
struct | _LSM_SITIMETONE_Prm |
SC Timetone Broadcast Message \ APID 0x701 \ function code 3. More... | |
struct | _LSM_Noop_Prm |
No operation \ APID 0x690 \ function code 2. More... | |
struct | _LSM_SIATTITUDE_Pkt |
SC Attitude Broadcast Message \ APID 0x701 \ function code 1. More... | |
struct | _LSM_SIANCILLARY_Pkt |
SC Ancillary Broadcast Message \ APID 0x701 \ function code 2. More... | |
struct | _LSM_SITIMETONE_Pkt |
SC Timetone Broadcast Message \ APID 0x701 \ function code 3. More... | |
struct | _LSM_SSRoutputOff_Pkt |
Turn off echo of Magic 7 commands to SSR \ APID 0x690 \ function code 0. More... | |
struct | _LSM_SSRoutputOn_Pkt |
Turn on echo of Magic 7 commands to the SSR \ APID 0x690 \ function code 1. More... | |
struct | _LSM_Noop_Pkt |
No operation \ APID 0x690 \ function code 2. More... | |
Typedefs | |
typedef enum _LSM_LSMNODEID | LSM_LSMNODEID |
Typedef for enumeration _LSM_LSMNODEID. | |
typedef struct _LSM_NODETRANID_Bfl | LSM_NODETRANID_Bfl |
Typedef for command bitfield structure _LSM_NODETRANID_Bfl. | |
typedef union _LSM_NODETRANID | LSM_NODETRANID |
Typedef for union _LSM_NODETRANID. | |
typedef struct _LSM_SIATTITUDE_Prm | LSM_SIATTITUDE_Prm |
Typedef for structure _LSM_SIATTITUDE_Prm. | |
typedef struct _LSM_SIANCILLARY_Prm | LSM_SIANCILLARY_Prm |
Typedef for structure _LSM_SIANCILLARY_Prm. | |
typedef struct _LSM_SITIMETONE_Prm | LSM_SITIMETONE_Prm |
Typedef for structure _LSM_SITIMETONE_Prm. | |
typedef struct _LSM_Noop_Prm | LSM_Noop_Prm |
Typedef for structure _LSM_Noop_Prm. | |
typedef struct _LSM_SIATTITUDE_Pkt | LSM_SIATTITUDE_Pkt |
Typedef for packet _LSM_SIATTITUDE_Pkt. | |
typedef struct _LSM_SIANCILLARY_Pkt | LSM_SIANCILLARY_Pkt |
Typedef for packet _LSM_SIANCILLARY_Pkt. | |
typedef struct _LSM_SITIMETONE_Pkt | LSM_SITIMETONE_Pkt |
Typedef for packet _LSM_SITIMETONE_Pkt. | |
typedef struct _LSM_SSRoutputOff_Pkt | LSM_SSRoutputOff_Pkt |
Typedef for packet _LSM_SSRoutputOff_Pkt. | |
typedef struct _LSM_SSRoutputOn_Pkt | LSM_SSRoutputOn_Pkt |
Typedef for packet _LSM_SSRoutputOn_Pkt. | |
typedef struct _LSM_Noop_Pkt | LSM_Noop_Pkt |
Typedef for packet _LSM_Noop_Pkt. | |
typedef enum _LSM_Apid690Fcodes | LSM_Apid690Fcodes |
Typedef for enumeration _LSM_Apid690Fcodes. | |
typedef enum _LSM_Apid701Fcodes | LSM_Apid701Fcodes |
Typedef for enumeration _LSM_Apid701Fcodes. | |
Enumerations | |
enum | _LSM_LSMNODEID { LSM_LSMNODEID_EPU0 = 1, LSM_LSMNODEID_EPU1 = 2, LSM_LSMNODEID_EPU2 = 3, LSM_LSMNODEID_EPU3 = 4, LSM_LSMNODEID_SIU = 0 } |
List of CPU nodes addressable with LSM commands. More... | |
enum | _LSM_Apid690Fcodes { LSM_SSROUTPUTOFF_FCODE = 0, LSM_SSROUTPUTON_FCODE = 1, LSM_NOOP_FCODE = 2 } |
Function code enumerations for apid 0x690. More... | |
enum | _LSM_Apid701Fcodes { LSM_SIATTITUDE_FCODE = 1, LSM_SIANCILLARY_FCODE = 2, LSM_SITIMETONE_FCODE = 3 } |
Function code enumerations for apid 0x701. More... | |
Functions | |
unsigned int | LSM_SIATTITUDE (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Processor for the SIATTITIDE telecommand. | |
unsigned int | LSM_SIANCILLARY (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Processor for the SIANCILLARY telecommand. | |
unsigned int | LSM_SITIMETONE (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Processor for the SITIMETONE telecommand. | |
unsigned int | LSM_SSRoutputOff (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Processor for the LSMSSROUTPUTOFF telecommand. | |
unsigned int | LSM_SSRoutputOn (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Processor for the LSMSSROUTPUTON telecommand. | |
unsigned int | LSM_Noop (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Callback function for the noop command. |
enum _LSM_Apid690Fcodes |
enum _LSM_Apid701Fcodes |
enum _LSM_LSMNODEID |
unsigned int LSM_Noop | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Callback function for the noop command.
prm | (in) User context parameter | |
qitem | (in) Queue item | |
pay | (in) Payload pointer | |
len | (in) Payload length |
ITC_VARRNG | ITC destination node invalid | |
ITC_FORWARD | Command forwarded to another node | |
LSM_SUCCESS | Success |
References _LSM_NODETRANID::bf, _LSM_Noop_Prm::flag, _LSM_Noop_Pkt::pay, and _LSM_NODETRANID::us.
unsigned int LSM_SIANCILLARY | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Processor for the SIANCILLARY telecommand.
prm | (in) User context parameter | |
qitem | (in) Queue item | |
pay | (in) Queue item payload pointer | |
len | (in) Queue item payload length |
References ANC_FLAGS_IN_SAA, _LSM_Control::ancFlags, _LSM_Control::ancSync, _LSM_Control::cmd_hdr_size, _LSM_Ancillary_SsrTlm::flags, _LSM_SIANCILLARY_Prm::flags, LIM_APID_FOR_SAA_ENTER_EXIT, LSM_getAncillary(), LSM_getSsrOut(), LSM_ID_ANC, LSM_ID_ANC_VER, LSM_sendSsrOut(), _LSM_SIANCILLARY_Prm::mode, _LSM_Ancillary_SsrTlm::mode, _LSM_Ancillary_SsrTlm::pos, _LSM_SIANCILLARY_Prm::pos, _LSM_Ancillary_SsrTlm::sec, _LSM_SIANCILLARY_Prm::sec, _LSM_SIANCILLARY_Prm::ssr, _LSM_Ancillary_SsrTlm::ssr, _LSM_Control::ssrOutEnable, _LSM_Ancillary_SsrTlm::sub, _LSM_SIANCILLARY_Prm::sub, _LSM_Ancillary_SsrTlm::vel, and _LSM_SIANCILLARY_Prm::vel.
unsigned int LSM_SIATTITUDE | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Processor for the SIATTITIDE telecommand.
prm | (in) User context parameter | |
qitem | (in) Queue item | |
pay | (in) Queue item payload pointer | |
len | (in) Queue item payload length |
References _LSM_Control::att, _LSM_Attitude_SsrTlm::avel, _LSM_SIATTITUDE_Prm::avel, _LSM_Control::cmd_hdr_size, LSM_getAttitude(), LSM_getSsrOut(), LSM_ID_ATT, LSM_ID_ATT_VER, LSM_sendSsrOut(), _LSM_Attitude_SsrTlm::quat, _LSM_SIATTITUDE_Prm::quat, _LSM_Attitude_SsrTlm::sec, _LSM_SIATTITUDE_Prm::sec, _LSM_Control::ssrOutEnable, _LSM_Attitude_SsrTlm::sub, _LSM_SIATTITUDE_Prm::sub, and _LSM_Attitude_SsrTlm::unused.
unsigned int LSM_SITIMETONE | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Processor for the SITIMETONE telecommand.
prm | (in) User context parameter | |
qitem | (in) Queue item | |
pay | (in) Queue item payload pointer | |
len | (in) Queue item payload length |
References _LSM_Timetone_SsrTlm::flags, _LSM_SITIMETONE_Prm::flags, LSM_getSsrOut(), LSM_getTimetone(), LSM_ID_TT, LSM_ID_TT_VER, LSM_sendSsrOut(), _LSM_SITIMETONE_Pkt::pay, _LSM_SITIMETONE_Prm::sec, _LSM_Control::ssrOutEnable, _LSM_Timetone_SsrTlm::timetone, and _LSM_Timetone_SsrTlm::unused.
unsigned int LSM_SSRoutputOff | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Processor for the LSMSSROUTPUTOFF telecommand.
prm | (in) User context parameter | |
qitem | (in) Queue item | |
pay | (in) Queue item payload pointer | |
len | (in) Queue item payload length |
References LSM_getSsrOutOff(), and _LSM_Control::ssrOutEnable.
unsigned int LSM_SSRoutputOn | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Processor for the LSMSSROUTPUTON telecommand.
prm | (in) User context parameter | |
qitem | (in) Queue item | |
pay | (in) Queue item payload pointer | |
len | (in) Queue item payload length |
References LSM_getSsrOutOn(), and _LSM_Control::ssrOutEnable.