Public Attributes | List of all members
_hal_i2c_slave_transfer Struct Reference

HAL I2C slave transfer structure. More...

#include <i2c.h>

Public Attributes

hal_i2c_status_t completionStatus
 
uint8_t *volatile data
 
volatile size_t dataSize
 
hal_i2c_slave_transfer_event_t event
 
size_t transferredCount
 

Detailed Description

HAL I2C slave transfer structure.

Definition at line 114 of file i2c.h.

Member Data Documentation

◆ completionStatus

hal_i2c_status_t _hal_i2c_slave_transfer::completionStatus

Success or error code describing how the transfer completed. Only applies for kHAL_I2cSlaveCompletionEvent.

Definition at line 119 of file i2c.h.

◆ data

uint8_t* volatile _hal_i2c_slave_transfer::data

A transfer buffer.

Definition at line 117 of file i2c.h.

◆ dataSize

volatile size_t _hal_i2c_slave_transfer::dataSize

A transfer size.

Definition at line 118 of file i2c.h.

◆ event

hal_i2c_slave_transfer_event_t _hal_i2c_slave_transfer::event

A reason that the callback is invoked.

Definition at line 116 of file i2c.h.

◆ transferredCount

size_t _hal_i2c_slave_transfer::transferredCount

A number of bytes actually transferred since the start or since the last repeated start.

Definition at line 121 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