|
My Project
|
#include <AntennaRxMsg.h>
Public Types | |
| enum | MsgType { INVALID, CONNECT, DISCONNECT, READ_DATA, WRITE_DATA, RX_CMD } |
| enum | rxCmdId { RX_SETUP_ADC, RX_RESET_FPGA, RX_RESET_FIFO, RX_SET_SWITCH_PERIOD, RX_SET_BURST_LENGTH, RX_SET_INTEGRATION_PERIOD, RX_SET_TRIM_LENGTH, RX_ENABLE_SIMULATOR, RX_ENABLE_NOISE, RX_ENABLE_WALSHING, RX_ENABLE_ALT_WALSHING, RX_ENABLE_FULL_WALSHING, RX_ENABLE_NONLINEARITY, RX_GET_BURST_DATA, RX_ENABLE_ALPHA, RX_SET_ALPHA, RX_SET_NONLIN } |
Public Types inherited from gcp::util::GenericTaskMsg | |
| enum | GenericMsgType { HEARTBEAT, STOP, RESTART, TASK_SPECIFIC, LAST } |
Public Member Functions | |
| void | packReadDataMsg () |
| void | packWriteDataMsg (gcp::util::TimeVal &currTime) |
| void | packConnectMsg () |
| void | packDisconnectMsg () |
| void | packRxCmdMsg (unsigned cmdId, float fltVal, int stageVal, int channelVal) |
Public Attributes | |
| MsgType | type |
| double | currTime_ |
| union { | |
| struct { | |
| unsigned cmdId | |
| float fltVal | |
| int chanVal | |
| int stageVal | |
| } rx | |
| } | body |
Public Attributes inherited from gcp::util::GenericTaskMsg | |
| GenericMsgType | genericMsgType_ |
Class to encapsulate messages send to the Rx task
Enumerate supported AntennaRx messages
| union { ... } gcp::antenna::control::AntennaRxMsg::body |
Define a Message container
| double gcp::antenna::control::AntennaRxMsg::currTime_ |
Time of request
| MsgType gcp::antenna::control::AntennaRxMsg::type |
The type of this message