GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LEM / V4-4-0
Constituent: lem     Tag: mcp750
#include "LEM/encode.h"
#include "LEM/encode_macros.h"
#include <stdio.h>
Include dependency graph for encode.c:

Enumerations | |
| enum | { DEFAULT_READ_TIMEOUT = 1000, DEFAULT_LOAD_TIMEOUT = 100 } |
Functions | |
| void | LEM_set_load_to (unsigned timeout) |
| Set the load timout. | |
| void | LEM_set_read_to (unsigned timeout) |
| Set the read timout. | |
| unsigned | LEM_get_load_to (void) |
| Get the load timout. | |
| unsigned | LEM_get_read_to (void) |
| Get the read timout. | |
| void | TEM_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned reg, unsigned payload) |
| Create a LATp command targeted at the common controller block of a TEM. | |
| void | TIC_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned reg, unsigned payload) |
| Create a LATp command targeted at the TIC block of a TEM. | |
| void | CCC_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned ccc, unsigned reg, unsigned payload) |
| Create a LATp command targeted at a CCC. | |
| void | CRC_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned ccc, unsigned crc, unsigned reg, unsigned short payload) |
| Create a LEM_ci targeted at a CRC. | |
| void | CFE_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned ccc, unsigned crc, unsigned cfe, unsigned reg, unsigned short payload) |
| Create a LATp command targeted at a CFE. | |
| void | TCC_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned tcc, unsigned reg, unsigned payload) |
| Create a LEM_ci targeted at a TCC. | |
| void | TRC_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned tcc, unsigned trc, unsigned reg, unsigned long long payload) |
| Create a LEM_ci targeted at a TRC. | |
| void | TFE_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned tcc, unsigned trc, unsigned tfe, unsigned reg, unsigned long long payload) |
| Create a LATp Command targeted at a TFE. | |
| void | AEM_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned reg, unsigned payload) |
| Create a LEM_ci targeted at the common controller block of the AEM. | |
| void | AEM_ENV_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned reg, unsigned long long payload) |
| Create a LATp Command targeted at the Environment block of the AEM. | |
| void | ARC_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned arc, unsigned reg, unsigned short payload) |
| Create a LATp Command targeted at an ARC. | |
| void | AFE_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned arc, unsigned afe, unsigned reg, unsigned short payload) |
| Create a LATp Command targeted at an AFE. | |
| void | PDU_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned reg, unsigned payload) |
| Create a LATp Command targeted at the common controller of the PDU. | |
| void | PDU_ENV_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned reg, unsigned payload) |
| Create a LATp command targeted at the environment block of the PDU. | |
| void | CRU_encode (LEM_ci *cmd, LEM_FUNCTION function, unsigned reg, unsigned payload) |
| Create a LATp command targeted at the CRU. | |
| void | EBM_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned reg, unsigned payload) |
| Create a LATp command targeted at the common controller block of the EBM. | |
| void | EBM_STAT_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, unsigned reg, unsigned payload) |
| Create a LATp command targeted at the statistics block of the EBM. | |
| void | GEM_encode (LEM_ci *cmd, LEM_FUNCTION function, LEM_LATP_ADDR addr, LEM_REG_BLK blk, unsigned reg, unsigned payload) |
| Create a LATp command targeted at the GEM. | |
| void | LAM_encode (LEM_ci *cmd, LEM_LATP_ADDR addr) |
| Create a look-at-me command. | |
| void | LAM_LCB_encode (LEM_ci *cmd, LEM_LATP_ADDR addr, unsigned value, unsigned enable_mask) |
| Create a look-at-me command targetted at an LCB. | |
Variables | |
| unsigned | LEM_read_to = DEFAULT_READ_TIMEOUT |
| Timeout value to use on read commands. | |
| unsigned | LEM_load_to = DEFAULT_LOAD_TIMEOUT |
| Timeout value to use on load commands. | |
|
||||||||||||||||||||||||
|
Create a LEM_ci targeted at the common controller block of the AEM.
|
|
||||||||||||||||||||||||
|
Create a LATp Command targeted at the Environment block of the AEM.
|
|
||||||||||||||||||||||||||||||||
|
Create a LATp Command targeted at an AFE.
|
|
||||||||||||||||||||||||||||
|
Create a LATp Command targeted at an ARC.
|
|
||||||||||||||||||||||||||||
|
Create a LATp command targeted at a CCC.
|
|
||||||||||||||||||||||||||||||||||||
|
Create a LATp command targeted at a CFE.
|
|
||||||||||||||||||||||||||||||||
|
Create a LEM_ci targeted at a CRC.
|
|
||||||||||||||||||||
|
Create a LATp command targeted at the CRU.
|
|
||||||||||||||||||||||||
|
Create a LATp command targeted at the common controller block of the EBM.
|
|
||||||||||||||||||||||||
|
Create a LATp command targeted at the statistics block of the EBM.
|
|
||||||||||||||||||||||||||||
|
Create a LATp command targeted at the GEM.
|
|
||||||||||||
|
Create a look-at-me command.
|
|
||||||||||||||||||||
|
Create a look-at-me command targetted at an LCB.
|
|
|
Get the load timout.
|
|
|
Get the read timout.
|
|
|
Set the load timout.
|
|
|
Set the read timout.
|
|
||||||||||||||||||||||||
|
Create a LATp Command targeted at the common controller of the PDU.
|
|
||||||||||||||||||||||||
|
Create a LATp command targeted at the environment block of the PDU.
|
|
||||||||||||||||||||||||||||
|
Create a LEM_ci targeted at a TCC.
|
|
||||||||||||||||||||||||
|
Create a LATp command targeted at the common controller block of a TEM.
|
|
||||||||||||||||||||||||||||||||||||
|
Create a LATp Command targeted at a TFE.
|
|
||||||||||||||||||||||||
|
Create a LATp command targeted at the TIC block of a TEM.
|
|
||||||||||||||||||||||||||||||||
|
Create a LEM_ci targeted at a TRC.
|
1.3.3