#include <serial.h>
|
| CRS232 () |
|
| ~CRS232 () |
|
bool | send_does_echo () |
|
bool | init (int comNr, unsigned long baudRate, unsigned char parity, unsigned short maxRxLen, unsigned short maxTxLen) |
|
void | done () |
|
void | iniCharReceiver (iChar, void *) |
|
bool | send_byte (unsigned char b) |
|
bool | send_bytes (const unsigned char *data, int len) |
|
bool | send_bytes_safe (const unsigned char *data, int len) |
|
bool | read_byte (unsigned char &b) |
|
bool | read_byte (unsigned char &b, unsigned short &charTout, unsigned long &lastCharTime) |
|
int | read_bytes (unsigned char *b, int maxLen) |
|
bool | flush () |
|
bool | flush (bool clearRX) |
|
void | clearRxBuff () |
|
void | mark_tx_ix_rd () |
|
void | mark_back_tx_ix_rd () |
|
int | get_mark_back_len () |
|
bool | is_sending () |
|
unsigned short | get_rx_len () |
|
bool | peek_rx_byte (unsigned short ix, unsigned char &b) |
|
void | setRTS (bool state) |
|
void | waitForSent () |
|
void CRS232::clearRxBuff |
( |
| ) |
|
bool CRS232::flush |
( |
bool |
clearRX | ) |
|
int CRS232::get_mark_back_len |
( |
| ) |
|
unsigned short CRS232::get_rx_len |
( |
| ) |
|
unsigned char CRS232::getParityByChar |
( |
char |
cp | ) |
|
|
static |
void CRS232::iniCharReceiver |
( |
iChar |
p, |
|
|
void * |
par |
|
) |
| |
bool CRS232::init |
( |
int |
comNr, |
|
|
unsigned long |
baudRate, |
|
|
unsigned char |
parity, |
|
|
unsigned short |
maxRxLen, |
|
|
unsigned short |
maxTxLen |
|
) |
| |
bool CRS232::is_sending |
( |
| ) |
|
void CRS232::mark_back_tx_ix_rd |
( |
| ) |
|
void CRS232::mark_tx_ix_rd |
( |
| ) |
|
bool CRS232::peek_rx_byte |
( |
unsigned short |
ix, |
|
|
unsigned char & |
b |
|
) |
| |
bool CRS232::read_byte |
( |
unsigned char & |
b | ) |
|
bool CRS232::read_byte |
( |
unsigned char & |
b, |
|
|
unsigned short & |
charTout, |
|
|
unsigned long & |
lastCharTime |
|
) |
| |
int CRS232::read_bytes |
( |
unsigned char * |
b, |
|
|
int |
maxLen |
|
) |
| |
bool CRS232::send_byte |
( |
unsigned char |
b | ) |
|
bool CRS232::send_bytes |
( |
const unsigned char * |
data, |
|
|
int |
len |
|
) |
| |
bool CRS232::send_bytes_safe |
( |
const unsigned char * |
data, |
|
|
int |
len |
|
) |
| |
bool CRS232::send_does_echo |
( |
| ) |
|
void CRS232::setRTS |
( |
bool |
state | ) |
|
void CRS232::waitForSent |
( |
| ) |
|
void rs232IsrHandlerCPP |
( |
int |
comNr | ) |
|
|
friend |
void* CRS232::charReceiverPar |
The documentation for this class was generated from the following files: