<< Previous | Next >> | |
|
int serXgetError( void ); /* where X is A-F */
Description
- Returns a byte of error flags, with bits set for any errors that occurred since the last time this function was called. Any bits set will be automatically cleared when this function is called, so a particular error will only be reported once. This function is non-reentrant.
- The flags are checked with bitmasks to determine which errors occurred. Error bitmasks:
- The functions
serEgetError()
andserFgetError()
may be used with the Rabbit 3000 and Rabbit 4000.Return value
- The error flags byte.
Library
- RS232.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |