forked from xt-sys/exectos
Improvements in COM port support
This commit is contained in:
@@ -26,13 +26,13 @@ HlComPortGetByte(IN PCPPORT Port,
|
||||
IN BOOLEAN Poll);
|
||||
|
||||
XTCDECL
|
||||
UCHAR
|
||||
HlComPortReadLsr(IN PCPPORT Port,
|
||||
XTSTATUS
|
||||
HlComPortPutByte(IN PCPPORT Port,
|
||||
IN UCHAR Byte);
|
||||
|
||||
XTCDECL
|
||||
XTSTATUS
|
||||
HlComPortPutByte(IN PCPPORT Port,
|
||||
UCHAR
|
||||
HlComPortReadLsr(IN PCPPORT Port,
|
||||
IN UCHAR Byte);
|
||||
|
||||
XTCDECL
|
||||
|
@@ -88,7 +88,7 @@
|
||||
#define COMPORT_REG_MCR 0x04 /* Modem Control Register */
|
||||
#define COMPORT_REG_LSR 0x05 /* Line Status Register */
|
||||
#define COMPORT_REG_MSR 0x06 /* Modem Status Register */
|
||||
#define COMPROT_REG_SR 0x07 /* Scratch Register */
|
||||
#define COMPORT_REG_SR 0x07 /* Scratch Register */
|
||||
|
||||
/* Serial (COM) port initial state */
|
||||
typedef struct _CPPORT
|
||||
|
Reference in New Issue
Block a user