PAN1080 Peripheral API
|
This is the data type used for specifying UART events. An event is the occurrence of an interrupt which must be handled appropriately. One of these events is passed at a time to the user listener function to be processed. The exception to this are the UART_EVENT_THR_EMPTY and UART_EVENT_TIMEOUT interrupts which are handled internally by the interrupt handler. More...
Typedefs | |
typedef enum UART_Event | UART_EventDef |
Enumerations | |
enum | UART_Event { UART_EVENT_MODEM = 0x0 , UART_EVENT_NONE = 0x1 , UART_EVENT_THR_EMPTY = 0x2 , UART_EVENT_DATA = 0x4 , UART_EVENT_LINE = 0x6 , UART_EVENT_TIMEOUT = 0xc } |
This is the data type used for specifying UART events. An event is the occurrence of an interrupt which must be handled appropriately. One of these events is passed at a time to the user listener function to be processed. The exception to this are the UART_EVENT_THR_EMPTY and UART_EVENT_TIMEOUT interrupts which are handled internally by the interrupt handler.
typedef enum UART_Event UART_EventDef |
enum UART_Event |