S32 SDK
flexio.h File Reference
#include <stddef.h>
#include <stdbool.h>
#include "device_registers.h"
#include "osif.h"
#include "status.h"

Go to the source code of this file.

Typedefs

typedef void(* flexio_callback_t) (void *driverState, flexio_event_t event, void *userData)
 flexio callback function More...
 

Enumerations

enum  flexio_driver_type_t { FLEXIO_DRIVER_TYPE_INTERRUPTS = 0U, FLEXIO_DRIVER_TYPE_POLLING = 1U, FLEXIO_DRIVER_TYPE_DMA = 2U }
 Driver type: interrupts/polling/DMA Implements : flexio_driver_type_t_Class. More...
 
enum  flexio_event_t { FLEXIO_EVENT_RX_FULL = 0x00U, FLEXIO_EVENT_TX_EMPTY = 0x01U, FLEXIO_EVENT_END_TRANSFER = 0x02U }
 flexio events Implements : flexio_event_t_Class More...
 

Functions

FLEXIO_I2C Driver
status_t FLEXIO_DRV_InitDevice (uint32_t instance, flexio_device_state_t *deviceState)
 Initializes the FlexIO device. More...
 
status_t FLEXIO_DRV_DeinitDevice (uint32_t instance)
 De-initializes the FlexIO device. More...
 
status_t FLEXIO_DRV_Reset (uint32_t instance)
 Resets the FlexIO device. More...