S32 SDK
callbacks.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* spi_callback_t) (void *driverState, spi_event_t event, void *userData)
 
typedef void(* uart_callback_t) (void *driverState, uart_event_t event, void *userData)
 

Enumerations

enum  spi_event_t { SPI_EVENT_END_TRANSFER = 0 }
 
enum  uart_event_t { UART_EVENT_RX_FULL = 0x00U, UART_EVENT_TX_EMPTY = 0x01U, UART_EVENT_END_TRANSFER = 0x02U, UART_EVENT_ERROR = 0x03U }
 

Typedef Documentation

typedef void(* spi_callback_t) (void *driverState, spi_event_t event, void *userData)

Definition at line 44 of file callbacks.h.

typedef void(* uart_callback_t) (void *driverState, uart_event_t event, void *userData)

Definition at line 58 of file callbacks.h.

Enumeration Type Documentation

Enumerator
SPI_EVENT_END_TRANSFER 

Definition at line 38 of file callbacks.h.

Enumerator
UART_EVENT_RX_FULL 

Rx buffer is full

UART_EVENT_TX_EMPTY 

Tx buffer is empty

UART_EVENT_END_TRANSFER 

The current transfer is ending

UART_EVENT_ERROR 

An error occured during transfer

Definition at line 49 of file callbacks.h.