8#ifndef __FSL_LPSPI_FREERTOS_H__
9#define __FSL_LPSPI_FREERTOS_H__
29#define FSL_LPSPI_FREERTOS_DRIVER_VERSION (MAKE_VERSION(2, 3, 1))
36typedef struct _lpspi_rtos_handle
41 SemaphoreHandle_t
mutex;
42 SemaphoreHandle_t event;
50#if defined(__cplusplus)
73 uint32_t srcClock_Hz);
99#if defined(__cplusplus)
int32_t status_t
Type used for all status and error return values.
Definition: fsl_common.h:225
status_t LPSPI_RTOS_Init(lpspi_rtos_handle_t *handle, LPSPI_Type *base, const lpspi_master_config_t *masterConfig, uint32_t srcClock_Hz)
Initializes LPSPI.
status_t LPSPI_RTOS_Transfer(lpspi_rtos_handle_t *handle, lpspi_transfer_t *transfer)
Performs SPI transfer.
status_t LPSPI_RTOS_Deinit(lpspi_rtos_handle_t *handle)
Deinitializes the LPSPI.
Definition: MIMXRT1052.h:30457
LPSPI master configuration structure.
Definition: fsl_lpspi.h:262
LPSPI master transfer handle structure used for transactional API.
Definition: fsl_lpspi.h:356
LPSPI master/slave transfer structure.
Definition: fsl_lpspi.h:344