caffeine-hal 0.6.6
A Header-Defined Interface c library, it provides the hal layer for the Caffeine framework
Loading...
Searching...
No Matches
Data Fields
cfn_hal_i2c_transaction_t Struct Reference

Standard I2C transaction structure. More...

#include <cfn_hal_i2c.h>

Data Fields

uint16_t slave_address
 
const uint8_t * tx_payload
 
size_t nbr_of_tx_bytes
 
uint8_t * rx_payload
 
size_t nbr_of_rx_bytes
 

Detailed Description

Standard I2C transaction structure.

Field Documentation

◆ nbr_of_rx_bytes

size_t cfn_hal_i2c_transaction_t::nbr_of_rx_bytes

Bytes to receive

◆ nbr_of_tx_bytes

size_t cfn_hal_i2c_transaction_t::nbr_of_tx_bytes

Bytes to transmit

◆ rx_payload

uint8_t* cfn_hal_i2c_transaction_t::rx_payload

Buffer for incoming data

◆ slave_address

uint16_t cfn_hal_i2c_transaction_t::slave_address

7-bit or 10-bit target address

◆ tx_payload

const uint8_t* cfn_hal_i2c_transaction_t::tx_payload

Buffer for outgoing data


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