rllib
1
|
#include <rlhilschercif.h>
Public Member Functions | |
rlHilscherCIF () | |
virtual | ~rlHilscherCIF () |
int | open () |
int | close () |
int | devGetMessage (int timeout) |
int | devPutMessage (int timeout) |
int | devExchangeIO (int sendOffset, int sendSize, unsigned char *sendData, int receiveOffset, int receiveSize, unsigned char *receiveData, int timeout) |
int | devOpenDriver () |
int | devInitBoard () |
int | devGetInfo (int info) |
int | devSetHostState (int mode) |
int | devPutTaskParameter () |
int | devReset () |
int | devExitBoard () |
int | devCloseDriver () |
void | printFirmwareInfo () |
Public Attributes | |
int | debug |
unsigned short | usBoardNumber |
unsigned short | usDevState |
unsigned short | usHostState |
unsigned char | abInfo [300] |
ASC_PARAMETER | aParameter |
IOINFO | tIoInfo |
RCS_MESSAGETELEGRAM_10 | tMessage |
rlMutex | mutex |
Private Attributes | |
int | isOpen |
This class is for data access to Hilscher CIF cards like PROFIBUS ... It uses the driver provided by Hilscher and has access to it's dual ported RAM.
Attention: In order to use this class on Linux as normal user you have to set chmod ugoa+rw /dev/cif
Definition at line 38 of file rlhilschercif.h.
rlHilscherCIF::rlHilscherCIF | ( | ) |
Definition at line 24 of file rlhilschercif.cpp.
|
virtual |
Definition at line 61 of file rlhilschercif.cpp.
int rlHilscherCIF::close | ( | ) |
Definition at line 81 of file rlhilschercif.cpp.
int rlHilscherCIF::devCloseDriver | ( | ) |
Definition at line 198 of file rlhilschercif.cpp.
int rlHilscherCIF::devExchangeIO | ( | int | sendOffset, |
int | sendSize, | ||
unsigned char * | sendData, | ||
int | receiveOffset, | ||
int | receiveSize, | ||
unsigned char * | receiveData, | ||
int | timeout | ||
) |
Definition at line 260 of file rlhilschercif.cpp.
int rlHilscherCIF::devExitBoard | ( | ) |
Definition at line 191 of file rlhilschercif.cpp.
int rlHilscherCIF::devGetInfo | ( | int | info | ) |
Definition at line 113 of file rlhilschercif.cpp.
int rlHilscherCIF::devGetMessage | ( | int | timeout | ) |
Definition at line 210 of file rlhilschercif.cpp.
int rlHilscherCIF::devInitBoard | ( | ) |
Definition at line 102 of file rlhilschercif.cpp.
int rlHilscherCIF::devOpenDriver | ( | ) |
Definition at line 90 of file rlhilschercif.cpp.
int rlHilscherCIF::devPutMessage | ( | int | timeout | ) |
Definition at line 245 of file rlhilschercif.cpp.
int rlHilscherCIF::devPutTaskParameter | ( | ) |
Definition at line 170 of file rlhilschercif.cpp.
int rlHilscherCIF::devReset | ( | ) |
Definition at line 181 of file rlhilschercif.cpp.
int rlHilscherCIF::devSetHostState | ( | int | mode | ) |
Definition at line 161 of file rlhilschercif.cpp.
int rlHilscherCIF::open | ( | ) |
Definition at line 66 of file rlhilschercif.cpp.
void rlHilscherCIF::printFirmwareInfo | ( | ) |
Definition at line 298 of file rlhilschercif.cpp.
unsigned char rlHilscherCIF::abInfo[300] |
Definition at line 66 of file rlhilschercif.h.
ASC_PARAMETER rlHilscherCIF::aParameter |
Definition at line 67 of file rlhilschercif.h.
int rlHilscherCIF::debug |
Definition at line 43 of file rlhilschercif.h.
|
private |
Definition at line 74 of file rlhilschercif.h.
rlMutex rlHilscherCIF::mutex |
Definition at line 71 of file rlhilschercif.h.
IOINFO rlHilscherCIF::tIoInfo |
Definition at line 68 of file rlhilschercif.h.
RCS_MESSAGETELEGRAM_10 rlHilscherCIF::tMessage |
Definition at line 69 of file rlhilschercif.h.
unsigned short rlHilscherCIF::usBoardNumber |
Definition at line 64 of file rlhilschercif.h.
unsigned short rlHilscherCIF::usDevState |
Definition at line 65 of file rlhilschercif.h.
unsigned short rlHilscherCIF::usHostState |
Definition at line 65 of file rlhilschercif.h.