mirror of
https://github.com/cc65/cc65.git
synced 2026-04-23 23:17:45 +00:00
API changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2406 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
+5
-8
@@ -139,8 +139,11 @@ unsigned char __fastcall__ ser_uninstall (void);
|
||||
* Note: This call does not free allocated memory.
|
||||
*/
|
||||
|
||||
unsigned char __fastcall__ ser_params (const struct ser_params* params);
|
||||
/* Set the port parameters. This will also enable the port. */
|
||||
unsigned char __fastcall__ ser_open (const struct ser_params* params);
|
||||
/* "Open" the port by setting the port parameters and enable interrupts. */
|
||||
|
||||
unsigned char __fastcall__ ser_close (void);
|
||||
/* "Close" the port. Clear buffers and and disable interrupts. */
|
||||
|
||||
unsigned char __fastcall__ ser_get (char* b);
|
||||
/* Get a character from the serial port. If no characters are available, the
|
||||
@@ -153,12 +156,6 @@ unsigned char __fastcall__ ser_put (char b);
|
||||
* SER_ERR_OVERFLOW if there is no space left in the transmit buffer.
|
||||
*/
|
||||
|
||||
unsigned char __fastcall__ ser_pause (void);
|
||||
/* Assert flow control and disable interrupts. */
|
||||
|
||||
unsigned char __fastcall__ ser_unpause (void);
|
||||
/* Re-enable interrupts and release flow control */
|
||||
|
||||
unsigned char __fastcall__ ser_status (unsigned char* status);
|
||||
/* Return the serial port status. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user