13 #include "gcp/control/code/unix/libunix_src/common/regmap.h"
15 #include "gcp/antenna/control/specific/PmacCommand.h"
17 #define PMAC_HOST_ADDR "192.6.94.5"
18 #define PMAC_HOST_PORT 1025
25 #define PMAC_TIMEOUT_USEC 600000
92 unsigned int first,
unsigned int nreg,
99 unsigned int first,
unsigned int nreg,
100 unsigned int *value);
105 void*
getMem(
unsigned short offset,
unsigned short length);
110 void*
setMem(
unsigned short offset,
unsigned short length,
111 unsigned char* data);
149 bool responsePending_;
166 void registerReadFd(
int fd);
172 int waitForNextMessage();
177 int waitForResponse();
194 #endif // End #ifndef
void disconnect()
Definition: PmacComms.cc:119
void sendCommand(PmacCommand &command)
Definition: PmacComms.cc:59
bool connect()
Definition: PmacComms.cc:149
void readReg(RegMapBlock *blk, unsigned int first, unsigned int nreg, unsigned int *value)
Definition: PmacComms.cc:276
bool pmacIsConnected()
Definition: PmacComms.cc:367
void * setMem(unsigned short offset, unsigned short length, unsigned char *data)
Definition: PmacComms.cc:317
void writeReg(RegMapBlock *blk, unsigned int first, unsigned int nreg, unsigned int *value)
Definition: PmacComms.cc:255
void * getMem(unsigned short offset, unsigned short length)
Definition: PmacComms.cc:302
Definition: PmacCommand.h:29
Definition: PmacComms.h:33
~PmacComms()
Definition: PmacComms.cc:49
void readResponse(PmacCommand &command)
Definition: PmacComms.cc:87
PmacComms()
Definition: PmacComms.cc:39