Berkeley Nuclear Data Software
Functions
rs232.h File Reference
#include <stdio.h>
#include <string.h>
#include <windows.h>
Include dependency graph for rs232.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int RS232_OpenComport (int, int, const char *, int)
 
int RS232_PollComport (int, unsigned char *, int)
 
int RS232_SendByte (int, unsigned char)
 
int RS232_SendBuf (int, unsigned char *, int)
 
void RS232_CloseComport (int)
 
void RS232_cputs (int, const char *)
 
int RS232_IsDCDEnabled (int)
 
int RS232_IsRINGEnabled (int)
 
int RS232_IsCTSEnabled (int)
 
int RS232_IsDSREnabled (int)
 
void RS232_enableDTR (int)
 
void RS232_disableDTR (int)
 
void RS232_enableRTS (int)
 
void RS232_disableRTS (int)
 
void RS232_flushRX (int)
 
void RS232_flushTX (int)
 
void RS232_flushRXTX (int)
 
int RS232_GetPortnr (const char *)
 

Function Documentation

◆ RS232_CloseComport()

void RS232_CloseComport ( int  comport_number)
Here is the caller graph for this function:

◆ RS232_cputs()

void RS232_cputs ( int  comport_number,
const char *  text 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RS232_disableDTR()

void RS232_disableDTR ( int  comport_number)

◆ RS232_disableRTS()

void RS232_disableRTS ( int  comport_number)

◆ RS232_enableDTR()

void RS232_enableDTR ( int  comport_number)

◆ RS232_enableRTS()

void RS232_enableRTS ( int  comport_number)

◆ RS232_flushRX()

void RS232_flushRX ( int  comport_number)

◆ RS232_flushRXTX()

void RS232_flushRXTX ( int  comport_number)

◆ RS232_flushTX()

void RS232_flushTX ( int  comport_number)

◆ RS232_GetPortnr()

int RS232_GetPortnr ( const char *  devname)

◆ RS232_IsCTSEnabled()

int RS232_IsCTSEnabled ( int  comport_number)

◆ RS232_IsDCDEnabled()

int RS232_IsDCDEnabled ( int  comport_number)

◆ RS232_IsDSREnabled()

int RS232_IsDSREnabled ( int  comport_number)

◆ RS232_IsRINGEnabled()

int RS232_IsRINGEnabled ( int  comport_number)

◆ RS232_OpenComport()

int RS232_OpenComport ( int  comport_number,
int  baudrate,
const char *  mode,
int  flowctrl 
)
Here is the caller graph for this function:

◆ RS232_PollComport()

int RS232_PollComport ( int  comport_number,
unsigned char *  buf,
int  size 
)
Here is the caller graph for this function:

◆ RS232_SendBuf()

int RS232_SendBuf ( int  comport_number,
unsigned char *  buf,
int  size 
)

◆ RS232_SendByte()

int RS232_SendByte ( int  comport_number,
unsigned char  byte 
)
Here is the caller graph for this function: