ReactOS 0.4.16-dev-109-gf4cb10f
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 140 of file rs232.c.

141{
142#if DBG
143 return ( ((Rs232ComPort != 0) && (Rs232ComPortInfo.Address == Base)) ? TRUE : FALSE );
144#else
145 return FALSE;
146#endif
147}
static struct @4300 Rs232ComPort[]
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2451

Referenced by DetectSerialPorts().

◆ Rs232PortPutByte()

VOID Rs232PortPutByte ( UCHAR  ByteToSend)

Definition at line 22 of file debug.c.

23{
24 *UART0DR = ByteToSend;
25}
volatile unsigned int * UART0DR
Definition: debug.c:12