ReactOS  0.4.14-dev-583-g2a1ba2c
comm.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BOOLEAN Rs232PortInitialize (ULONG ComPort, ULONG BaudRate)
 
BOOLEAN Rs232PortGetByte (PUCHAR ByteReceived)
 
VOID Rs232PortPutByte (UCHAR ByteToSend)
 
BOOLEAN Rs232PortInUse (PUCHAR Base)
 

Function Documentation

◆ Rs232PortGetByte()

BOOLEAN Rs232PortGetByte ( PUCHAR  ByteReceived)

◆ Rs232PortInitialize()

BOOLEAN Rs232PortInitialize ( ULONG  ComPort,
ULONG  BaudRate 
)

◆ Rs232PortInUse()

BOOLEAN Rs232PortInUse ( PUCHAR  Base)

Definition at line 132 of file rs232.c.

133 {
134 #if DBG
135  return ( ((Rs232ComPort != 0) && (Rs232ComPortInfo.Address == Base)) ? TRUE : FALSE );
136 #else
137  return FALSE;
138 #endif
139 }
#define TRUE
Definition: types.h:120
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2343

Referenced by DetectSerialPorts().

◆ Rs232PortPutByte()

VOID Rs232PortPutByte ( UCHAR  ByteToSend)