mirror of
https://github.com/cc65/cc65.git
synced 2025-01-26 17:36:57 +00:00
Added ser_ioctl
git-svn-id: svn://svn.cc65.org/cc65/trunk@2096 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
0e32374efe
commit
e4a6273056
@ -103,6 +103,7 @@
|
||||
#define SER_ERR_NO_DATA 0x06 /* Nothing to read */
|
||||
#define SER_ERR_OVERFLOW 0x07 /* No room in send buffer */
|
||||
#define SER_ERR_INIT_FAILED 0x08 /* Initialization failed */
|
||||
#define SER_ERR_INV_IOCTL 0x09 /* IOCTL not supported */
|
||||
|
||||
/* Struct containing parameters for the serial port */
|
||||
struct ser_params {
|
||||
@ -157,6 +158,9 @@ unsigned char __fastcall__ ser_unpause (void);
|
||||
unsigned char __fastcall__ ser_status (unsigned char* status);
|
||||
/* Return the serial port status. */
|
||||
|
||||
unsigned char __fastcall__ ser_ioctl (unsigned char code, void* data);
|
||||
/* Driver specific entry. */
|
||||
|
||||
|
||||
|
||||
/* End of serial.h */
|
||||
|
Loading…
x
Reference in New Issue
Block a user