Astra MCU SDK Peripheral Driver Library
 
Loading...
Searching...
No Matches
i2c_nonblocking_config_t Struct Reference

Non-blocking transfer configuration. More...

#include <i2c.h>

Data Fields

uint8_t * buf
 
uint32_t size
 
bool send_stop
 

Detailed Description

Non-blocking transfer configuration.

Used to configure non-blocking I²C transfers.

Field Documentation

◆ buf

uint8_t* i2c_nonblocking_config_t::buf

buffer to store either read or write data

◆ size

uint32_t i2c_nonblocking_config_t::size

size of the data to be written by controller or send to target

◆ send_stop

bool i2c_nonblocking_config_t::send_stop

Issue STOP (controller) or final response (target)