Go to the documentation of this file.
52 #ifndef _APP_I2C_DMA_H_
53 #define _APP_I2C_DMA_H_
65 #ifdef HAL_I2C_MODULE_ENABLED
uint16_t app_i2c_dma_mem_write_async(app_i2c_id_t id, uint16_t dev_address, uint16_t mem_address, uint16_t mem_addr_size, uint8_t *p_data, uint16_t size)
Write an amount of data in non-blocking mode with Interrupt/DMA to a specific memory address.
uint16_t app_i2c_dma_init(app_i2c_params_t *p_params)
Initialize the APP I2C DRIVER according to the specified parameters in the app_i2c_params_t and app_i...
uint16_t app_i2c_dma_transmit_async(app_i2c_id_t id, uint16_t target_address, uint8_t *p_data, uint16_t size)
Transmits in master or slave mode an amount of data in non-blocking mode with Interrupt/DMA.
uint16_t app_i2c_dma_mem_read_async(app_i2c_id_t id, uint16_t dev_address, uint16_t mem_address, uint16_t mem_addr_size, uint8_t *p_data, uint16_t size)
Read an amount of data in non-blocking mode with Interrupt/DMA from a specific memory address.
Header file containing functions prototypes of GPIO app library.
Header file containing functions prototypes of I2C app library.
app_i2c_id_t
I2C module Enumerations definition.
This file contains all the functions prototypes for the HAL module driver.
uint16_t app_i2c_dma_receive_async(app_i2c_id_t id, uint16_t target_address, uint8_t *p_data, uint16_t size)
Receive in master or slave mode an amount of data in non-blocking mode with Interrupt/DMA.
uint16_t app_i2c_dma_deinit(app_i2c_id_t id)
De-initialize the APP I2C DRIVER peripheral.
I2C parameters structure definition.
Header file of app driver error code.
Header file of app driver config code.