Buffer Interface
|
#include "BFDef.h"
Go to the source code of this file.
Macros | |
#define | BFSERIALEXPORT __declspec(dllexport) |
#define | BFSERIALCC __cdecl |
#define | BFCL_ERROR_SERNOTFOUND -1000 |
#define | BFCL_ERROR_BRDNOTFOUND -1001 |
#define | BFCL_ERROR_BRDOPEN -1002 |
#define | BFCL_ERROR_THRE -1003 |
#define | BFCL_ERROR_TEMT -1004 |
#define | BFCL_ERROR_FIFO_EN -1005 |
#define | BFCL_ERROR_RCVRFIFO -1006 |
#define | BFCL_ERROR_BAUDRATE -1008 |
#define | BFCL_ERROR_DATABITS -1009 |
#define | BFCL_ERROR_PARITY -1010 |
#define | BFCL_ERROR_15STOP5DATA -1011 |
#define | BFCL_ERROR_2STOP5DATA -1012 |
#define | BFCL_ERROR_STOPBITS -1013 |
#define | BFCL_ERROR_NOSIGNAL -1014 |
#define | BFCL_ERROR_NOSTRUC -1016 |
#define | BFCL_ERROR_NULLPTR -1017 |
#define | BFCL_ERROR_BYTES_AVAIL -1018 |
#define | BFCL_ERROR_FLUSH_PORT -1019 |
#define | BFCL_ERROR_DATA_IN -1020 |
#define | BFCL_WARN_SIG_CANCEL -1015 |
Typedefs | |
typedef struct _SerialMutexes | SerialMutexes |
typedef struct _SerialMutexes * | SerialMutexesPtr |
typedef struct _SerRefStruc | SerRefStruc |
typedef struct _SerRefStruc * | pSerRefStruc |
typedef enum _DataBits | DataBits |
typedef enum _DataBits * | DataBitsPtr |
typedef enum _Parity | Parity |
typedef enum _Parity * | ParityPtr |
typedef enum _StopBits | StopBits |
typedef enum _StopBits * | StopBitsPtr |
Enumerations | |
enum | _DataBits { DataBits_5 = 0, DataBits_6, DataBits_7, DataBits_8 } |
enum | _Parity { ParityEven = 0, ParityOdd, ParityNone } |
enum | _StopBits { StopBits_1 = 0, StopBits_15, StopBits_2 } |
Functions | |
BFSERIALEXPORT int BFSERIALCC | clBFSerialSettings (void *serBFRef, unsigned int baudRate, unsigned int dataBits, unsigned int parity, unsigned int stopBits) |
BFSERIALEXPORT int BFSERIALCC | clBFSerialRead (void *serBFRef, char *buffer, unsigned int *bufferSize) |
BFSERIALEXPORT int BFSERIALCC | clBFSerialCancelRead (void *serBFRef) |
BFSERIALEXPORT int BFSERIALCC | clBFGetBaudRate (void *serBFRef, unsigned int *baudRate) |
BFSERIALEXPORT int BFSERIALCC | clBFSerialInitFromBoardHandle (Bd hBoard, void **serialRefPtr) |
BFSERIALEXPORT int BFSERIALCC | clBFGetSerialRef (unsigned int portNum, void **serBFRefPtr) |
BFSERIALEXPORT int BFSERIALCC | clBFGetSerialRefFromBoardHandle (Bd hBoard, void **serBFRefPtr) |
BFSERIALEXPORT BFRC BFSERIALCC | BFSVersion (PBFU32 pMajorVersion, PBFU32 pMinorVersion) |
#define BFCL_ERROR_15STOP5DATA -1011 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_2STOP5DATA -1012 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_BAUDRATE -1008 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_BRDNOTFOUND -1001 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_BRDOPEN -1002 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_BYTES_AVAIL -1018 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_DATA_IN -1020 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_DATABITS -1009 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_FIFO_EN -1005 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_FLUSH_PORT -1019 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_NOSIGNAL -1014 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_NOSTRUC -1016 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_NULLPTR -1017 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_PARITY -1010 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_RCVRFIFO -1006 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_SERNOTFOUND -1000 |
#define BFCL_ERROR_STOPBITS -1013 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_TEMT -1004 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_ERROR_THRE -1003 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFCL_WARN_SIG_CANCEL -1015 |
Referenced by CLComm::CLAllSerial::getErrorText().
#define BFSERIALCC __cdecl |
#define BFSERIALEXPORT __declspec(dllexport) |
typedef enum _DataBits * DataBitsPtr |
typedef struct _SerRefStruc * pSerRefStruc |
typedef struct _SerialMutexes SerialMutexes |
typedef struct _SerialMutexes * SerialMutexesPtr |
typedef struct _SerRefStruc SerRefStruc |
typedef enum _StopBits * StopBitsPtr |
enum _DataBits |
enum _Parity |
enum _StopBits |
BFSERIALEXPORT BFRC BFSERIALCC BFSVersion | ( | PBFU32 | pMajorVersion, |
PBFU32 | pMinorVersion | ||
) |
Referenced by CLComm::CLAllSerial::bfsVersion().
BFSERIALEXPORT int BFSERIALCC clBFGetBaudRate | ( | void * | serBFRef, |
unsigned int * | baudRate | ||
) |
Referenced by CLComm::CLAllSerial::bfGetBaudRate().
BFSERIALEXPORT int BFSERIALCC clBFGetSerialRef | ( | unsigned int | portNum, |
void ** | serBFRefPtr | ||
) |
Referenced by CLComm::CLAllSerial::serialInit().
BFSERIALEXPORT int BFSERIALCC clBFGetSerialRefFromBoardHandle | ( | Bd | hBoard, |
void ** | serBFRefPtr | ||
) |
Referenced by CLComm::CLAllSerial::bfSerialInit(), and CLComm::CLAllSerial::bfSWConnectorSerialInit().
BFSERIALEXPORT int BFSERIALCC clBFSerialCancelRead | ( | void * | serBFRef | ) |
Referenced by CLComm::CLAllSerial::bfSerialCancelRead().
BFSERIALEXPORT int BFSERIALCC clBFSerialInitFromBoardHandle | ( | Bd | hBoard, |
void ** | serialRefPtr | ||
) |
Referenced by CLComm::CLAllSerial::bfSerialInit(), and CLComm::CLAllSerial::bfSWConnectorSerialInit().
BFSERIALEXPORT int BFSERIALCC clBFSerialRead | ( | void * | serBFRef, |
char * | buffer, | ||
unsigned int * | bufferSize | ||
) |
Referenced by CLComm::CLAllSerial::bfSerialRead().
BFSERIALEXPORT int BFSERIALCC clBFSerialSettings | ( | void * | serBFRef, |
unsigned int | baudRate, | ||
unsigned int | dataBits, | ||
unsigned int | parity, | ||
unsigned int | stopBits | ||
) |
Referenced by CLComm::CLAllSerial::bfSerialSettings().