GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCBD / V1-2-9
Constituent: test_err     Tag: sun-gcc
#include "PBI/Endianness.h"
#include "LCBD/LATP.h"
Include dependency graph for LCB_cr.h:
Data Structures | |
union | _LCB_ci |
Defines a union of all command item. More... | |
struct | _LCB_ci_cmd |
Defines the transmit command without wait on response. More... | |
struct | _LCB_ci_cmd_payload |
Lays out the payload portion of the transmit command and transmit command with response. More... | |
struct | _LCB_ci_cmdr |
Defines the transmit command with wait on response. More... | |
struct | _LCB_ci_event |
Defines the event transfer command item. More... | |
union | _LCB_ci_hdr |
Union of an uninterpretted 32-bit integer with the bit field representation. More... | |
struct | _LCB_ci_hdr_bf |
Structure to map out the bit fields of a command item header. More... | |
struct | _LCB_ci_reg |
Defines a register access command item. More... | |
struct | _LCB_ci_simple |
Defines a simple command item. More... | |
struct | _LCB_cl |
Defines a structure encompassing all command lists. More... | |
struct | _LCB_cl_cmd |
Defines a transmit commmand command list. More... | |
struct | _LCB_cl_cmdr |
Defines a transmit commmand with wait on response command list. More... | |
struct | _LCB_cl_event |
Defines the event command list. More... | |
struct | _LCB_cl_hdr |
Layout of a command list header. More... | |
struct | _LCB_cl_reg |
Defines the register access command list. More... | |
struct | _LCB_cl_simple |
Defines a simple command list. More... | |
union | _LCB_csr |
union for 32-bit CSR register More... | |
struct | _LCB_csr_bf |
Bit field map of the LCB's LATp backend CSR register. More... | |
union | _LCB_faults |
Union for 32-bit FIFO FAULTs register. More... | |
struct | _LCB_faults_bf |
Bit map of the LATp backend FIFO FAULTS register. More... | |
union | _LCB_ri |
union for the two types of result item More... | |
struct | _LCB_ri_cmd_payload |
Lays out the payload portion of the transmit command and transmit command with response. More... | |
union | _LCB_ri_err |
union for 32-bit LCB result item error More... | |
struct | _LCB_ri_err_bf |
layout of a 32-bit LCB result item error field More... | |
union | _LCB_ri_hdr |
union for 32-bit LCB result item header More... | |
struct | _LCB_ri_hdr_bf |
layout of a 32-bit result item header More... | |
struct | _LCB_ri_reg |
layout of a register response LCB result item More... | |
struct | _LCB_ri_response |
layout of a response LCB result item More... | |
struct | _LCB_ri_simple |
layout of a simple LCB result item More... | |
struct | _LCB_rl |
Defines a structure encompassing all result lists. More... | |
struct | _LCB_rl_hdr |
Layout of a result list header. More... | |
struct | _LCB_rl_reg |
Defines the register access result list. More... | |
struct | _LCB_rl_response |
Defines a response result list. More... | |
struct | _LCB_rl_simple |
Defines a simple result list. More... | |
union | _LCB_rxstats |
Union for 32-bit RECEIVE STATISTICS/STATUS register. More... | |
struct | _LCB_rxstats_bf |
Bit map of the LATp backend RECEIVE STATISTICS/STATUS register. More... | |
Defines | |
#define | LCB_RESULT_ADDR_MASK (~0xF) |
Bitmask for the LCB result descriptor address bits. | |
#define | LCB_REQUEST_ADDR_MASK (~0x1FF) |
Bitmask for the LCB request descriptor address bits. | |
#define | LCB_CI_HDR(_len32, _opcode) (((_len32) << LCB_CI_HDR_V_LEN) | ((_opcode) << LCB_CI_HDR_V_OPCODE)) |
Composes the header word for a command item. | |
#define | LCB_CI_EVENT_LEN_32(_ints) |
Rounds the given number of integers to the next highest number of cells, returning the answer in ints. | |
#define | LCB_CI_EVENT(_name, _n32) |
Defines a struct and typedef of the specified name for an event command item of the specified size. | |
#define | LCB_CI_CMD(_payload, _stall) { LCB_CI_HDR_CMD, _payload, _stall } |
Provides a method of statically composing a data statement that can be used to initialize a TRANSMIT COMMAND with no response command item. | |
#define | LCB_CI_MARK_TIME(_stall) { LCB_CI_HDR_MARK_TIME, _stall } |
Provides a method of statically composing a data statement that can be used to initialize a MARK TIME command item. | |
#define | LCB_CI_LAT_RESET(_stall) { LCB_CI_HDR_LAT_RESET, _stall } |
Provides a method of statically composing a data statement that can be used to initialize a LAT RESET command item. | |
#define | LCB_CI_CMDR(_payload, _timeout) { LCB_CI_HDR_CMDR, _payload, _timeout } |
Provides a method of statically composing a data statement that can be used to initialize a TRANSMIT COMMAND with no response command item. | |
#define | LCB_CI_CSR(_value, _field_select, _stall) { LCB_CI_HDR_CSR, _value, _field_select, _stall } |
Provides a method of statically composing a data statement that can be used to initialize a CSR ACCESS command item. | |
#define | LCB_CI_FAULTS(_value, _field_select, _stall) { LCB_CI_HDR_FAULTS, _value, _field_select, _stall } |
Provides a method of statically composing a data statement that can be used to initialize a FIFO FAULTS ACCESS command item. | |
#define | LCB_CI_RXSTATS(_value, _field_select, _stall) { LCB_CI_HDR_RXSTATS, _value, _field_select, _stall } |
Provides a method of statically composing a data statement that can be used to initialize a RECEIVE STATISTICS/STATUS ACCESS command item. | |
Typedefs | |
typedef enum _LCB_OPCODE | LCB_OPCODE |
Typedefs for enum. | |
typedef enum _LCB_CI_N4BYTES | LCB_CI_N4BYTES |
Typedef for enum _LCB_CI_N4BYTES. | |
typedef enum _LCB_CI_N8BYTES | LCB_CI_N8BYTES |
Typedef for enum _LCB_CI_N8BYTES. | |
typedef _LCB_cl_hdr | LCB_cl_hdr |
Typedef for struct _LCB_cl_hdr. | |
typedef enum _LCB_CI_HDR_S | LCB_CI_HDR_S |
Typedef for enum _LCB_CI_HDR_S. | |
typedef enum _LCB_CI_HDR_V | LCB_CI_HDR_V |
Typedef for enum _LCB_CI_HDR_V. | |
typedef enum _LCB_CI_HDR_M | LCB_CI_HDR_M |
Typedef for enum _LCB_CI_HDR_M. | |
typedef _LCB_ci_hdr_bf | LCB_ci_hdr_bf |
Typedef for struct _LCB_ci_hdr_bf. | |
typedef _LCB_ci_hdr | LCB_ci_hdr |
Typedef for union _LCB_ci_hdr. | |
typedef enum _LCB_CI_HDR | LCB_CI_HDR |
Typedefs for enum. | |
typedef _LATP_cell_hdr | LCB_ci_latp |
Synomyn for union _LATP_cell_hdr, just to keep the naming conventions consistent. | |
typedef _LCB_ci_cmd_payload | LCB_ci_cmd_payload |
Typedef for struct _LCB_ci_cmd_payload. | |
typedef _LCB_ci_simple | LCB_ci_simple |
Typedef for struct. | |
typedef _LCB_cl_simple | LCB_cl_simple |
Typedef for struct. | |
typedef _LCB_ci_reg | LCB_ci_reg |
Typedef for struct. | |
typedef _LCB_cl_reg | LCB_cl_reg |
Typedef for struct. | |
typedef enum _LCB_RI_N4BYTES | LCB_RI_N4BYTES |
Typedef for enum _LCB_RI_N4BYTES. | |
typedef enum _LCB_RI_N8BYTES | LCB_RI_N8BYTES |
Typedef for enum _LCB_RI_N8BYTES. | |
typedef _LCB_rl_hdr | LCB_rl_hdr |
Typedef for struct _LCB_rl_hdr. | |
typedef enum _LCB_RI_HDR_S | LCB_RI_HDR_S |
Typedef for enum _LCB_RI_HDR_S. | |
typedef enum _LCB_RI_HDR_V | LCB_RI_HDR_V |
Typedef for enum _LCB_RI_HDR_V. | |
typedef enum _LCB_RI_HDR_M | LCB_RI_HDR_M |
Typedef for enum _LCB_RI_HDR_M. | |
typedef _LCB_ri_hdr_bf | LCB_ri_hdr_bf |
Typedef for struct _LCB_ri_hdr_bf. | |
typedef _LCB_ri_hdr | LCB_ri_hdr |
Typedef for union _LCB_ri_hdr. | |
typedef enum _LCB_RI_ERR_S | LCB_RI_ERR_S |
Typedef for enum _LCB_RI_ERR_S. | |
typedef enum _LCB_RI_ERR_V | LCB_RI_ERR_V |
Typedef for enum _LCB_RI_ERR_V. | |
typedef enum _LCB_RI_ERR_M | LCB_RI_ERR_M |
Typedef for enum _LCB_RI_ERR_M. | |
typedef _LCB_ri_err_bf | LCB_ri_err_bf |
Typedef for struct _LCB_ri_err_bf. | |
typedef _LCB_ri_err | LCB_ri_err |
Typedef for union _LCB_ri_err. | |
typedef _LCB_ri_simple | LCB_ri_simple |
Typedef for struct _LCB_ri_simple. | |
typedef _LCB_rl_simple | LCB_rl_simple |
Typedef for struct. | |
typedef _LCB_ri_cmd_payload | LCB_ri_cmd_payload |
Typedef for struct _LCB_ri_cmd_payload. | |
typedef _LCB_ri_response | LCB_ri_response |
Typedef for struct _LCB_ri_response. | |
typedef _LCB_rl_response | LCB_rl_response |
Typedef for struct. | |
typedef _LCB_ri_reg | LCB_ri_reg |
Typedef for struct _LCB_ri_reg. | |
typedef _LCB_rl_reg | LCB_rl_reg |
Typedef for struct. | |
typedef _LCB_ci_cmd | LCB_ci_cmd |
Typedef for struct. | |
typedef _LCB_cl_cmd | LCB_cl_cmd |
Typedef for struct. | |
typedef LCB_ri_simple | LCB_ri_cmd |
Defines the transmit command result item. | |
typedef LCB_rl_simple | LCB_rl_cmd |
Typedef for the transmit command result list. | |
typedef LCB_ci_simple | LCB_ci_mark_time |
Typedef for the mark time command item. | |
typedef LCB_cl_simple | LCB_cl_mark_time |
Typedef for the mark time command list. | |
typedef LCB_ri_simple | LCB_ri_mark_time |
Typedef for the mark time result item. | |
typedef LCB_rl_simple | LCB_rl_mark_time |
Typedef for the mark time result list. | |
typedef _LATP_pckt_hdr | LCB_ci_event_pckt_hdr |
Synoymn for union _LATP_pckt_hdr, just to keep the naming conventions consistent. | |
typedef _LCB_ci_event | LCB_ci_event |
Typedef for struct. | |
typedef _LCB_cl_event | LCB_cl_event |
Typedef for struct. | |
typedef LCB_ri_simple | LCB_ri_event |
Typedef for struct. | |
typedef LCB_rl_simple | LCB_rl_event |
Typedef for struct. | |
typedef _LCB_ci_cmdr | LCB_ci_cmdr |
Typedef for struct. | |
typedef _LCB_cl_cmdr | LCB_cl_cmdr |
Typedef for struct. | |
typedef LCB_ri_response | LCB_ri_cmdr |
Typedef for the transfer command and wait on response result item. | |
typedef LCB_rl_response | LCB_rl_cmdr |
Typedef for the transmit command and wait on response result list. | |
typedef LCB_ci_simple | LCB_ci_lat_reset |
Typedef for the Reset LAT command item. | |
typedef LCB_cl_simple | LCB_cl_lat_reset |
Typedef for the Reset LAT command list. | |
typedef LCB_ri_simple | LCB_ri_lat_reset |
Typedef for the Reset LAT result item. | |
typedef LCB_rl_simple | LCB_rl_lat_reset |
Typedef for the Reset LAT result list. | |
typedef enum _LCB_CSR_S | LCB_CSR_S |
Typedef for enum _LCB_CSR_S. | |
typedef enum _LCB_CSR_V | LCB_CSR_V |
Typedef for enum _LCB_CSR_V. | |
typedef enum _LCB_CSR_M | LCB_CSR_M |
Typedef for enum _LCB_CSR_M. | |
typedef _LCB_csr_bf | LCB_csr_bf |
Typedef form struct. | |
typedef _LCB_csr | LCB_csr |
typedef for union | |
typedef LCB_ci_reg | LCB_ci_csr |
Typedef for the CSR command item. | |
typedef LCB_cl_reg | LCB_cl_csr |
Typedef for the CSR command list. | |
typedef LCB_ri_reg | LCB_ri_csr |
Typedef for the CSR result item. | |
typedef LCB_rl_reg | LCB_rl_csr |
Typedef for the CSR result list. | |
typedef enum _LCB_FAULTS_S | LCB_FAULTS_S |
Typedef for enum _LCB_FAULTS_S. | |
typedef enum _LCB_FAULTS_V | LCB_FAULTS_V |
Typedef for enum _LCB_FAULTS_V. | |
typedef enum _LCB_FAULTS_M | LCB_FAULTS_M |
Typedef for enum _LCB_FAULTS_M. | |
typedef _LCB_faults_bf | LCB_faults_bf |
Typedef for struct. | |
typedef _LCB_faults | LCB_faults |
Typedef for union. | |
typedef LCB_ci_reg | LCB_ci_faults |
Typedef for the FIFO Faults request item. | |
typedef LCB_cl_reg | LCB_cl_faults |
Typedef for the FIFO Faults request list. | |
typedef LCB_ri_reg | LCB_ri_faults |
Typedef for the FIFO Faults result item. | |
typedef LCB_rl_reg | LCB_rl_faults |
Typedef for the FIFO Faults result list. | |
typedef enum _LCB_RXSTATS_S | LCB_RXSTATS_S |
Typedef for enum _LCB_RXSTATS_S. | |
typedef enum _LCB_RXSTATS_V | LCB_RXSTATS_V |
Typedef for enum _LCB_RXSTATS_V. | |
typedef enum _LCB_RXSTATS_M | LCB_RXSTATS_M |
Typedef for enum _LCB_RXSTATS_M. | |
typedef _LCB_rxstats_bf | LCB_rxstats_bf |
Typedef for struct. | |
typedef _LCB_rxstats | LCB_rxstats |
Typedef for union. | |
typedef LCB_ci_reg | LCB_ci_rxstats |
Typedef for the RECEIVE STATISTICS/STATUS request item. | |
typedef LCB_cl_reg | LCB_cl_rxstats |
Typedef for the RECEIVE STATISTICS/STATUS request list. | |
typedef LCB_ri_reg | LCB_ri_rxstats |
Typedef for the RECEIVE STATISTICS/STATUS result item. | |
typedef LCB_rl_reg | LCB_rl_rxstats |
Typedef for the RECEIVE STATISTICS/STATUS result list. | |
typedef _LCB_ci | LCB_ci |
Typedef for struct. | |
typedef _LCB_cl | LCB_cl |
Typedef for struct. | |
typedef _LCB_ri | LCB_ri |
Typedef for union _LCB_ri. | |
typedef _LCB_rl | LCB_rl |
Typedef for struct. | |
Enumerations | |
enum | _LCB_OPCODE { LCB_OPCODE_CMD = 0x0, LCB_OPCODE_MARK_TIME = 0x1, LCB_OPCODE_EVENT = 0x2, LCB_OPCODE_LAT_RESET = 0x3, LCB_OPCODE_CMDR = 0x4, LCB_OPCODE_CSR = 0x5, LCB_OPCODE_6 = 0x6, LCB_OPCODE_FAULTS = 0x7, LCB_OPCODE_8 = 0x8, LCB_OPCODE_RXSTATS = 0x9, LCB_OPCODE_A = 0x6, LCB_OPCODE_B = 0x6, LCB_OPCODE_C = 0x6, LCB_OPCODE_D = 0x6, LCB_OPCODE_E = 0x6, LCB_OPCODE_F = 0x6 } |
Enumerates the values of the opcodes for each of the LCB's commands. More... | |
enum | _LCB_CI_N4BYTES { LCB_CI_N4BYTES_CMD = 6, LCB_CI_N4BYTES_MARK_TIME = 2, LCB_CI_N4BYTES_EVENT = 2, LCB_CI_N4BYTES_LAT_RESET = 2, LCB_CI_N4BYTES_CMDR = 6, LCB_CI_N4BYTES_CSR = 4, LCB_CI_N4BYTES_FAULTS = 4, LCB_CI_N4BYTES_RXSTATS = 4 } |
Enumerates the size, in 4 bytes units, of each result item. More... | |
enum | _LCB_CI_N8BYTES { LCB_CI_N8BYTES_CMD = 3, LCB_CI_N8BYTES_MARK_TIME = 1, LCB_CI_N8BYTES_EVENT = 1, LCB_CI_N8BYTES_LAT_RESET = 1, LCB_CI_N8BYTES_CMDR = 3, LCB_CI_N8BYTES_CSR = 2, LCB_CI_N8BYTES_FAULTS = 2, LCB_CI_N8BYTES_RXSTATS = 2 } |
Enumerates the size, in 8 bytes units, of each result item. More... | |
enum | _LCB_CI_HDR_S { LCB_CI_HDR_S_OPCODE = 4, LCB_CI_HDR_S_MBZ0 = 12, LCB_CI_HDR_S_LEN = 10, LCB_CI_HDR_S_MBZ1 = 6 } |
LCB command item header field sizes, in bits. More... | |
enum | _LCB_CI_HDR_V { LCB_CI_HDR_V_OPCODE = 0, LCB_CI_HDR_V_MBZ0 = 4, LCB_CI_HDR_V_LEN = 16, LCB_CI_HDR_V_MBZ1 = 22 } |
LCB command item header field right bit offsets. More... | |
enum | _LCB_CI_HDR_M { LCB_CI_HDR_M_OPCODE = 0x0000000f, LCB_CI_HDR_M_MBZ0 = 0x0000fff0, LCB_CI_HDR_M_LEN = 0x03ff0000, LCB_CI_HDR_M_MBZ1 = 0xfc000000 } |
LCB command item header field, in place masks. More... | |
enum | _LCB_CI_HDR { LCB_CI_HDR_CMD = HDR (4,CMD), LCB_CI_HDR_MARK_TIME = HDR (0,MARK_TIME), LCB_CI_HDR_LAT_RESET = HDR (0,LAT_RESET), LCB_CI_HDR_CMDR = HDR (4,CMDR), LCB_CI_HDR_CSR = HDR (2,CSR ), LCB_CI_HDR_FAULTS = HDR (2,FAULTS), LCB_CI_HDR_RXSTATS = HDR (2,RXSTATS) } |
Enumerates the values of the command item header (length/opcode) word for each of the LCB's commands. More... | |
enum | _LCB_RI_N4BYTES { LCB_RI_N4BYTES_CMD = 2, LCB_RI_N4BYTES_MARK_TIME = 2, LCB_RI_N4BYTES_EVENT = 2, LCB_RI_N4BYTES_LAT_RESET = 2, LCB_RI_N4BYTES_CMDR = 6, LCB_RI_N4BYTES_CSR = 4, LCB_RI_N4BYTES_FAULTS = 4, LCB_RI_N4BYTES_RXSTATS = 4 } |
Enumerates the size, in 4 bytes units, of each result item. More... | |
enum | _LCB_RI_N8BYTES { LCB_RI_N8BYTES_CMD = 1, LCB_RI_N8BYTES_MARK_TIME = 1, LCB_RI_N8BYTES_EVENT = 1, LCB_RI_N8BYTES_LAT_RESET = 1, LCB_RI_N8BYTES_CMDR = 3, LCB_RI_N8BYTES_CSR = 2, LCB_RI_N8BYTES_FAULTS = 2, LCB_RI_N8BYTES_RXSTATS = 2 } |
Enumerates the size, in 8 bytes units, of each result item. More... | |
enum | _LCB_RI_HDR_S { LCB_RI_HDR_S_TIMESTAMP = 24, LCB_RI_HDR_S_RESERVED1 = 4, LCB_RI_HDR_S_OPCODE = 4 } |
LCB result item header field sizes, in bits. More... | |
enum | _LCB_RI_HDR_V { LCB_RI_HDR_V_TIMESTAMP = 0, LCB_RI_HDR_V_RESERVED1 = 24, LCB_RI_HDR_V_OPCODE = 28 } |
LCB result item header field sizes, right offset. More... | |
enum | _LCB_RI_HDR_M { LCB_RI_HDR_M_TIMESTAMP = 0x00ffffff, LCB_RI_HDR_M_RESERVED1 = 0x0f000000, LCB_RI_HDR_M_OPCODE = 0xf0000000 } |
LCB result item header field sizes, in place masks. More... | |
enum | _LCB_RI_ERR_S { LCB_RI_ERR_S_ERR = 16, LCB_RI_ERR_S_RESERVED1 = 16 } |
Result item error fields, size in bits. More... | |
enum | _LCB_RI_ERR_V { LCB_RI_ERR_V_ERR = 16, LCB_RI_ERR_V_RESERVED1 = 16 } |
Result item error fields, right offset. More... | |
enum | _LCB_RI_ERR_M { LCB_RI_ERR_M_ERR = 0x0000ffff, LCB_RI_ERR_M_RESERVED1 = 0xffff0000 } |
Result item error fields, in place masks. More... | |
enum | _LCB_CSR_S { LCB_CSR_S_USER_0 = 1, LCB_CSR_S_EVT_ENABLE = 1, LCB_CSR_S_ICLK_TRAILING = 1, LCB_CSR_S_OCLK_TRAILING = 1, LCB_CSR_S_HDR_PARITY = 1, LCB_CSR_S_PAYLOAD_PARITY = 1, LCB_CSR_S_BACK_PRESSURE = 1, LCB_CSR_S_USER_1 = 1, LCB_CSR_S_BOARD_ID = 5, LCB_CSR_S_MUST_BE_1 = 1, LCB_CSR_S_LATP8 = 1, LCB_CSR_S_RESET = 1, LCB_CSR_S_EVT_PAUSED = 1, LCB_CSR_S_USER = 7, LCB_CSR_S_VERSION = 8 } |
The sizes, in bits of the LATp backend CSR register fields. More... | |
enum | _LCB_CSR_V { LCB_CSR_V_USER_0 = 0, LCB_CSR_V_EVT_ENABLE = 1, LCB_CSR_V_ICLK_TRAILING = 2, LCB_CSR_V_OCLK_TRAILING = 3, LCB_CSR_V_HDR_PARITY = 4, LCB_CSR_V_PAYLOAD_PARITY = 5, LCB_CSR_V_BACK_PRESSURE = 6, LCB_CSR_V_USER_1 = 7, LCB_CSR_V_BOARD_ID = 8, LCB_CSR_V_MUST_BE_1 = 13, LCB_CSR_V_LATP8 = 14, LCB_CSR_V_RESET = 15, LCB_CSR_V_EVT_PAUSED = 16, LCB_CSR_V_USER = 17, LCB_CSR_V_VERSION = 24 } |
The right shift offset of the LATp backend CSR register fields. More... | |
enum | _LCB_CSR_M { LCB_CSR_M_USER_0 = (0x01 << LCB_CSR_V_USER_0), LCB_CSR_M_EVT_ENABLE = (0x01 << LCB_CSR_V_EVT_ENABLE), LCB_CSR_M_ICLK_TRAILING = (0x01 << LCB_CSR_V_ICLK_TRAILING), LCB_CSR_M_OCLK_TRAILING = (0x01 << LCB_CSR_V_OCLK_TRAILING), LCB_CSR_M_HDR_PARITY = (0x01 << LCB_CSR_V_HDR_PARITY), LCB_CSR_M_PAYLOAD_PARITY = (0x01 << LCB_CSR_V_PAYLOAD_PARITY), LCB_CSR_M_BACK_PRESSURE = (0x01 << LCB_CSR_V_BACK_PRESSURE), LCB_CSR_M_USER_1 = (0x01 << LCB_CSR_V_USER_1), LCB_CSR_M_BOARD_ID = (0x1f << LCB_CSR_V_BOARD_ID), LCB_CSR_M_MUST_BE_1 = (0x01 << LCB_CSR_V_MUST_BE_1), LCB_CSR_M_LATP8 = (0x01 << LCB_CSR_V_LATP8), LCB_CSR_M_RESET = (0x01 << LCB_CSR_V_RESET), LCB_CSR_M_EVT_PAUSED = (0x01 << LCB_CSR_V_EVT_PAUSED), LCB_CSR_M_USER = (0x7f << LCB_CSR_V_USER), LCB_CSR_M_VERSION = (0xff << LCB_CSR_V_VERSION) } |
The in place mask of the LATp backend CSR register fields. More... | |
enum | _LCB_FAULTS_S { LCB_FAULTS_S_PENDEVT_ER = 1, LCB_FAULTS_S_PENDEVT_FW = 1, LCB_FAULTS_S_EVTBUF_ER = 1, LCB_FAULTS_S_EVTBUF_FW = 1, LCB_FAULTS_S_RSTBUF_ER = 1, LCB_FAULTS_S_RSTBUF_FW = 1, LCB_FAULTS_S_PENDRST_ER = 1, LCB_FAULTS_S_PENDRST_FW = 1, LCB_FAULTS_S_REQBUF_ER = 1, LCB_FAULTS_S_REQBUF_FW = 1, LCB_FAULTS_S_PENDREQ_ER = 1, LCB_FAULTS_S_PENDREQ_FW = 1, LCB_FAULTS_S_UNUSED1 = 20 } |
The sizes, in bits of the LATp backend FAULTS register fields. More... | |
enum | _LCB_FAULTS_V { LCB_FAULTS_V_PENDEVT_ER = 0, LCB_FAULTS_V_PENDEVT_FW = 1, LCB_FAULTS_V_EVTBUF_ER = 2, LCB_FAULTS_V_EVTBUF_FW = 3, LCB_FAULTS_V_RSTBUF_ER = 4, LCB_FAULTS_V_RSTBUF_FW = 5, LCB_FAULTS_V_PENDRST_ER = 6, LCB_FAULTS_V_PENDRST_FW = 7, LCB_FAULTS_V_REQBUF_ER = 8, LCB_FAULTS_V_REQBUF_FW = 9, LCB_FAULTS_V_PENDREQ_ER = 10, LCB_FAULTS_V_PENDREQ_FW = 11, LCB_FAULTS_V_UNUSED1 = 12 } |
The right offset, in bits, of the LATp backend FAULTS register fields. More... | |
enum | _LCB_FAULTS_M { LCB_FAULTS_M_PENDEVT_ER = (1 << LCB_FAULTS_V_PENDEVT_ER), LCB_FAULTS_M_PENDEVT_FW = (1 << LCB_FAULTS_V_PENDEVT_FW), LCB_FAULTS_M_EVTBUF_ER = (1 << LCB_FAULTS_V_EVTBUF_ER), LCB_FAULTS_M_EVTBUF_FW = (1 << LCB_FAULTS_V_EVTBUF_FW), LCB_FAULTS_M_RSTBUF_ER = (1 << LCB_FAULTS_V_RSTBUF_ER), LCB_FAULTS_M_RSTBUF_FW = (1 << LCB_FAULTS_V_RSTBUF_FW), LCB_FAULTS_M_PENDRST_ER = (1 << LCB_FAULTS_V_PENDRST_ER), LCB_FAULTS_M_PENDRST_FW = (1 << LCB_FAULTS_V_PENDRST_FW), LCB_FAULTS_M_REQBUF_ER = (1 << LCB_FAULTS_V_REQBUF_ER), LCB_FAULTS_M_REQBUF_FW = (1 << LCB_FAULTS_V_REQBUF_FW), LCB_FAULTS_M_PENDREQ_ER = (1 << LCB_FAULTS_V_PENDREQ_ER), LCB_FAULTS_M_PENDREQ_FW = (1 << LCB_FAULTS_V_PENDREQ_FW), LCB_FAULTS_M_UNUSED1 = (0xfffff < LCB_FAULTS_V_UNUSED1) } |
The in-place mask, of the LATp backend FAULTS register fields. More... | |
enum | _LCB_RXSTATS_S { LCB_RXSTATS_S_CNT = 14, LCB_RXSTATS_S_CELL_PARITY = 1, LCB_RXSTATS_S_HEADER_PARITY = 1, LCB_RXSTATS_S_LATP_ADR = 1, LCB_RXSTATS_S_UNUSED1 = 15 } |
The sizes, in bits of the LATp backend RECEIVE STATISTICS/STATUS register fields. More... | |
enum | _LCB_RXSTATS_V { LCB_RXSTATS_V_CNT = 0, LCB_RXSTATS_V_CELL_PARITY = 14, LCB_RXSTATS_V_HEADER_PARITY = 15, LCB_RXSTATS_V_LATP_ADR = 16, LCB_RXSTATS_V_UNUSED1 = 17 } |
The right offset, in bits, of the LATp backend RECEIVE STATISTICS/STATUS register fields. More... | |
enum | _LCB_RXSTATS_M { LCB_RXSTATS_M_CNT = 0x00003fff, LCB_RXSTATS_M_CELL_PARITY = 0x00004000, LCB_RXSTATS_M_HEADER_PARITY = 0x00008000, LCB_RXSTATS_M_LATP_ADR = 0x00010000, LCB_RXSTATS_M_UNUSED1 = 0xfffe0000 } |
The in place mask, of the LATp backend RECEIVE STATISTICS/STATUS register fields. More... |
CVS $Id
typedef struct _RegAccessCl typedef struct _RegAccessRl { { LCB_cl_hdr hdr; LCB_rl_hdr hdr; LCB_ci_csr csr; LCB_ri_csr csr; LCB_ci_faults faults; LCB_ri_faults faults; } } RegAccessCl; RegAccessRl;
Opcode | Name | Request Class | Result Class
|
0000 | Transmit Command | Command | Simple
|
0001 | Mark Time | Simple | Simple
|
0010 | Transmit Event | Event Xfr | Simple
|
0011 | Reset LAT | Simple | Simple
|
0100 | Transmit Command and Wait for Response | Command | Response
|
0101 | Access CSR | Register | Register
|
1001 | Access FIFO Faults | Register | Register
|
0111 | Access Receive Stats | Register | Register
|
|
Provides a method of statically composing a data statement that can be used to initialize a TRANSMIT COMMAND with no response command item.
|
|
Provides a method of statically composing a data statement that can be used to initialize a TRANSMIT COMMAND with no response command item.
|
|
Provides a method of statically composing a data statement that can be used to initialize a CSR ACCESS command item.
|
|
Value: typedef struct _ ## _name \ { \ unsigned int header; \ LCB_ci_event_pckt_hdr latp; \ unsigned long int dat[_n32]; \ } \ _name;
|
|
Value: LATP_NCELLS_BYTES ((_ints) * sizeof (unsigned int)) * \ LATP_CELL_SIZE_INTS
|
|
Provides a method of statically composing a data statement that can be used to initialize a FIFO FAULTS ACCESS command item.
|
|
Composes the header word for a command item.
|
|
Provides a method of statically composing a data statement that can be used to initialize a LAT RESET command item.
|
|
Provides a method of statically composing a data statement that can be used to initialize a MARK TIME command item.
|
|
Provides a method of statically composing a data statement that can be used to initialize a RECEIVE STATISTICS/STATUS ACCESS command item.
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedef for struct _LCB_ci_cmd_payload. There are two things to note about the command payload
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedefs for enum.
|
|
Typedef for union _LCB_ci_hdr.
ci->hdr.ui = header; |
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
typedef for union
|
|
Typedef form struct.
|
|
Typedef for union.
|
|
Typedef for struct.
|
|
Typedefs for enum.
|
|
Typedef for struct _LCB_ri_cmd_payload. There are two things to note about the response payload
|
|
Typedef for struct.
|
|
Typedef for struct _LCB_ri_reg.
|
|
Typedef for struct _LCB_ri_simple.
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedef for struct.
|
|
Typedef for union.
|
|
Typedef for struct.
|
|
|
LCB command item header field, in place masks.
|
|
LCB command item header field sizes, in bits.
|
|
LCB command item header field right bit offsets.
|
|
Enumerates the size, in 4 bytes units, of each result item.
|
|
Enumerates the size, in 8 bytes units, of each result item.
|
|
The in place mask of the LATp backend CSR register fields.
|
|
The sizes, in bits of the LATp backend CSR register fields.
|
|
The right shift offset of the LATp backend CSR register fields.
|
|
The in-place mask, of the LATp backend FAULTS register fields.
|
|
The sizes, in bits of the LATp backend FAULTS register fields.
|
|
The right offset, in bits, of the LATp backend FAULTS register fields.
|
|
Enumerates the values of the opcodes for each of the LCB's commands.
|
|
Result item error fields, in place masks.
|
|
Result item error fields, size in bits.
|
|
Result item error fields, right offset.
|
|
LCB result item header field sizes, in place masks.
|
|
LCB result item header field sizes, in bits.
|
|
LCB result item header field sizes, right offset.
|
|
Enumerates the size, in 4 bytes units, of each result item.
|
|
Enumerates the size, in 8 bytes units, of each result item.
|
|
The in place mask, of the LATp backend RECEIVE STATISTICS/STATUS register fields.
|
|
The sizes, in bits of the LATp backend RECEIVE STATISTICS/STATUS register fields.
|
|
The right offset, in bits, of the LATp backend RECEIVE STATISTICS/STATUS register fields.
|