|
C++ DevKit
C++ set of OOP library
|
this data structure collects result when an I2C transfer is done. It gives a more verbose error description : a context and the number of transfered byte. More...
#include <hw_i2c.h>

Public Attributes | |
| bool | error = false |
| flag that indicates if an error occurred. | |
| std::string | context = "" |
| a clear indication of where the error occurred: | |
| int | xfer_size = 0 |
| the number of byte transfered. | |
this data structure collects result when an I2C transfer is done. It gives a more verbose error description : a context and the number of transfered byte.
| std::string struct_I2CXferResult::context = "" |
a clear indication of where the error occurred: