Public Attributes | List of all members
_hal_i2c_master_transfer Struct Reference

HAL I2C master transfer structure. More...

#include <i2c.h>

Public Attributes

uint8_t *volatile data
 
volatile size_t dataSize
 
hal_i2c_direction_t direction
 
uint32_t flags
 
uint8_t slaveAddress
 
uint32_t subaddress
 
uint8_t subaddressSize
 

Detailed Description

HAL I2C master transfer structure.

Definition at line 102 of file i2c.h.

Member Data Documentation

◆ data

uint8_t* volatile _hal_i2c_master_transfer::data

A transfer buffer.

Definition at line 104 of file i2c.h.

◆ dataSize

volatile size_t _hal_i2c_master_transfer::dataSize

A transfer size.

Definition at line 105 of file i2c.h.

◆ direction

hal_i2c_direction_t _hal_i2c_master_transfer::direction

A transfer direction, read or write.

Definition at line 110 of file i2c.h.

◆ flags

uint32_t _hal_i2c_master_transfer::flags

A transfer flag which controls the transfer.

Definition at line 106 of file i2c.h.

◆ slaveAddress

uint8_t _hal_i2c_master_transfer::slaveAddress

7-bit slave address.

Definition at line 109 of file i2c.h.

◆ subaddress

uint32_t _hal_i2c_master_transfer::subaddress

A sub address. Transferred MSB first.

Definition at line 107 of file i2c.h.

◆ subaddressSize

uint8_t _hal_i2c_master_transfer::subaddressSize

A size of the command buffer.

Definition at line 108 of file i2c.h.


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


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:19