Bouffalo SDK  1.0
Bouffalolab Software Development Kit
bflb_i2c_msg_s Struct Reference

I2C message structure. More...

#include <bflb_i2c.h>

Collaboration diagram for bflb_i2c_msg_s:
Collaboration graph

Data Fields

uint16_t addr
 
uint16_t flags
 
uint8_t * buffer
 
uint16_t length
 

Detailed Description

I2C message structure.

Parameters
addrSlave address (7- or 10-bit)
flagsSee I2C_M_* definitions
bufferBuffer to be transferred
lengthLength of the buffer in bytes, should be less than 256.

Definition at line 105 of file bflb_i2c.h.

Field Documentation

◆ addr

uint16_t addr

Definition at line 106 of file bflb_i2c.h.

◆ buffer

uint8_t* buffer

Definition at line 108 of file bflb_i2c.h.

◆ flags

uint16_t flags

Definition at line 107 of file bflb_i2c.h.

◆ length

uint16_t length

Definition at line 109 of file bflb_i2c.h.


The documentation for this struct was generated from the following file: