Berkeley Nuclear Data Software
|
#include "rs232.h"
Macros | |
#define | RS232_PORTNR 32 |
Functions | |
int | RS232_OpenComport (int comport_number, int baudrate, const char *mode, int flowctrl) |
int | RS232_PollComport (int comport_number, unsigned char *buf, int size) |
int | RS232_SendByte (int comport_number, unsigned char byte) |
int | RS232_SendBuf (int comport_number, unsigned char *buf, int size) |
void | RS232_CloseComport (int comport_number) |
int | RS232_IsDCDEnabled (int comport_number) |
int | RS232_IsRINGEnabled (int comport_number) |
int | RS232_IsCTSEnabled (int comport_number) |
int | RS232_IsDSREnabled (int comport_number) |
void | RS232_enableDTR (int comport_number) |
void | RS232_disableDTR (int comport_number) |
void | RS232_enableRTS (int comport_number) |
void | RS232_disableRTS (int comport_number) |
void | RS232_flushRX (int comport_number) |
void | RS232_flushTX (int comport_number) |
void | RS232_flushRXTX (int comport_number) |
void | RS232_cputs (int comport_number, const char *text) |
int | RS232_GetPortnr (const char *devname) |
Variables | |
HANDLE | Cport [RS232_PORTNR] |
const char * | comports [RS232_PORTNR] |
char | mode_str [128] |
#define RS232_PORTNR 32 |
void RS232_CloseComport | ( | int | comport_number | ) |
void RS232_cputs | ( | int | comport_number, |
const char * | text | ||
) |
void RS232_disableDTR | ( | int | comport_number | ) |
void RS232_disableRTS | ( | int | comport_number | ) |
void RS232_enableDTR | ( | int | comport_number | ) |
void RS232_enableRTS | ( | int | comport_number | ) |
void RS232_flushRX | ( | int | comport_number | ) |
void RS232_flushRXTX | ( | int | comport_number | ) |
void RS232_flushTX | ( | int | comport_number | ) |
int RS232_GetPortnr | ( | const char * | devname | ) |
int RS232_IsCTSEnabled | ( | int | comport_number | ) |
int RS232_IsDCDEnabled | ( | int | comport_number | ) |
int RS232_IsDSREnabled | ( | int | comport_number | ) |
int RS232_IsRINGEnabled | ( | int | comport_number | ) |
int RS232_OpenComport | ( | int | comport_number, |
int | baudrate, | ||
const char * | mode, | ||
int | flowctrl | ||
) |
int RS232_PollComport | ( | int | comport_number, |
unsigned char * | buf, | ||
int | size | ||
) |
int RS232_SendBuf | ( | int | comport_number, |
unsigned char * | buf, | ||
int | size | ||
) |
int RS232_SendByte | ( | int | comport_number, |
unsigned char | byte | ||
) |
const char* comports[RS232_PORTNR] |
HANDLE Cport[RS232_PORTNR] |
char mode_str[128] |