MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
Driver version | |
#define | FSL_ECSPI_FREERTOS_DRIVER_VERSION (MAKE_VERSION(2, 0, 2)) |
ECSPI FreeRTOS driver version 2.0.2. More... | |
ECSPI RTOS Operation | |
status_t | ECSPI_RTOS_Init (ecspi_rtos_handle_t *handle, ECSPI_Type *base, const ecspi_master_config_t *masterConfig, uint32_t srcClock_Hz) |
Initializes ECSPI. More... | |
status_t | ECSPI_RTOS_Deinit (ecspi_rtos_handle_t *handle) |
Deinitializes the ECSPI. More... | |
status_t | ECSPI_RTOS_Transfer (ecspi_rtos_handle_t *handle, ecspi_transfer_t *transfer) |
Performs ECSPI transfer. More... | |
#define FSL_ECSPI_FREERTOS_DRIVER_VERSION (MAKE_VERSION(2, 0, 2)) |
status_t ECSPI_RTOS_Init | ( | ecspi_rtos_handle_t * | handle, |
ECSPI_Type * | base, | ||
const ecspi_master_config_t * | masterConfig, | ||
uint32_t | srcClock_Hz | ||
) |
This function initializes the ECSPI module and related RTOS context.
handle | The RTOS ECSPI handle, the pointer to an allocated space for RTOS context. |
base | The pointer base address of the ECSPI instance to initialize. |
masterConfig | Configuration structure to set-up ECSPI in master mode. |
srcClock_Hz | Frequency of input clock of the ECSPI module. |
status_t ECSPI_RTOS_Deinit | ( | ecspi_rtos_handle_t * | handle | ) |
This function deinitializes the ECSPI module and related RTOS context.
handle | The RTOS ECSPI handle. |
status_t ECSPI_RTOS_Transfer | ( | ecspi_rtos_handle_t * | handle, |
ecspi_transfer_t * | transfer | ||
) |
This function performs an ECSPI transfer according to data given in the transfer structure.
handle | The RTOS ECSPI handle. |
transfer | Structure specifying the transfer parameters. |