8#ifndef __FSL_LPI2C_FREERTOS_H__
9#define __FSL_LPI2C_FREERTOS_H__
29#define FSL_LPI2C_FREERTOS_DRIVER_VERSION (MAKE_VERSION(2, 3, 2))
36typedef struct _lpi2c_rtos_handle
41 SemaphoreHandle_t
mutex;
42 SemaphoreHandle_t semaphore;
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 LPI2C_RTOS_Init(lpi2c_rtos_handle_t *handle, LPI2C_Type *base, const lpi2c_master_config_t *masterConfig, uint32_t srcClock_Hz)
Initializes LPI2C.
status_t LPI2C_RTOS_Transfer(lpi2c_rtos_handle_t *handle, lpi2c_master_transfer_t *transfer)
Performs I2C transfer.
status_t LPI2C_RTOS_Deinit(lpi2c_rtos_handle_t *handle)
Deinitializes the LPI2C.
Definition: MIMXRT1052.h:29282
Structure with settings to initialize the LPI2C master module.
Definition: fsl_lpi2c.h:150
Driver handle for master non-blocking APIs.
Definition: fsl_lpi2c.h:249
Non-blocking transfer descriptor structure.
Definition: fsl_lpi2c.h:233