|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
I2C transaction buffer structure. More...
#include <EspTypes_I2C.h>
Public Member Functions | |
| hf_i2c_transaction_buffer_t (const uint8_t *buf, size_t len) noexcept | |
| Constructor for read buffer. | |
| hf_i2c_transaction_buffer_t (const uint8_t *buf, size_t len, bool write) noexcept | |
| Constructor with explicit write/read flag. | |
Public Attributes | |
| const uint8_t * | buffer |
| Buffer pointer. | |
| size_t | length |
| Buffer length in bytes. | |
| bool | is_write |
| true = write buffer, false = read buffer | |
I2C transaction buffer structure.
Represents a single buffer in a multi-buffer transaction.
|
inlinenoexcept |
Constructor for read buffer.
|
inlinenoexcept |
Constructor with explicit write/read flag.
| const uint8_t* hf_i2c_transaction_buffer_t::buffer |
Buffer pointer.
| bool hf_i2c_transaction_buffer_t::is_write |
true = write buffer, false = read buffer
| size_t hf_i2c_transaction_buffer_t::length |
Buffer length in bytes.