MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
Typedefs | |
typedef void(* | flexcomm_irq_handler_t )(void *base, void *handle) |
Typedef for interrupt handler. More... | |
Enumerations | |
enum | FLEXCOMM_PERIPH_T { FLEXCOMM_PERIPH_NONE, FLEXCOMM_PERIPH_USART, FLEXCOMM_PERIPH_SPI, FLEXCOMM_PERIPH_I2C, FLEXCOMM_PERIPH_I2S_TX, FLEXCOMM_PERIPH_I2S_RX } |
FLEXCOMM peripheral modes. More... | |
Functions | |
uint32_t | FLEXCOMM_GetInstance (void *base) |
Returns instance number for FLEXCOMM module with given base address. More... | |
status_t | FLEXCOMM_Init (void *base, FLEXCOMM_PERIPH_T periph) |
Initializes FLEXCOMM and selects peripheral mode according to the second parameter. More... | |
void | FLEXCOMM_SetIRQHandler (void *base, flexcomm_irq_handler_t handler, void *handle) |
Sets IRQ handler for given FLEXCOMM module. More... | |
Variables | |
IRQn_Type const | kFlexcommIrqs [] |
Array with IRQ number for each FLEXCOMM module. More... | |
Driver version | |
#define | FSL_FLEXCOMM_DRIVER_VERSION (MAKE_VERSION(2, 0, 1)) |
FlexCOMM driver version 2.0.1. More... | |
#define FSL_FLEXCOMM_DRIVER_VERSION (MAKE_VERSION(2, 0, 1)) |
typedef void(* flexcomm_irq_handler_t)(void *base, void *handle) |
enum FLEXCOMM_PERIPH_T |
uint32_t FLEXCOMM_GetInstance | ( | void * | base | ) |
status_t FLEXCOMM_Init | ( | void * | base, |
FLEXCOMM_PERIPH_T | periph | ||
) |
void FLEXCOMM_SetIRQHandler | ( | void * | base, |
flexcomm_irq_handler_t | handler, | ||
void * | handle | ||
) |
It is used by drivers register IRQ handler according to FLEXCOMM mode
IRQn_Type const kFlexcommIrqs[] |