|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
I2C operation statistics. More...
#include <BaseI2c.h>
Public Member Functions | |
| hf_i2c_statistics_t () noexcept | |
Public Attributes | |
| hf_u64_t | total_transactions |
| Total transactions attempted. | |
| hf_u64_t | successful_transactions |
| Successful transactions. | |
| hf_u64_t | failed_transactions |
| Failed transactions. | |
| hf_u64_t | timeout_count |
| Transaction timeouts. | |
| hf_u64_t | bytes_written |
| Total bytes written. | |
| hf_u64_t | bytes_read |
| Total bytes read. | |
| hf_u64_t | total_transaction_time_us |
| Total transaction time. | |
| hf_u32_t | max_transaction_time_us |
| Longest transaction time. | |
| hf_u32_t | min_transaction_time_us |
| Shortest transaction time. | |
| hf_u32_t | nack_errors |
| NACK error count. | |
| hf_u32_t | bus_errors |
| Bus error count. | |
| hf_u32_t | arbitration_lost_count |
| Arbitration lost count. | |
| hf_u32_t | clock_stretch_timeouts |
| Clock stretch timeouts. | |
| hf_u32_t | devices_added |
| Devices added to bus. | |
| hf_u32_t | devices_removed |
| Devices removed from bus. | |
I2C operation statistics.
|
inlinenoexcept |
| hf_u32_t hf_i2c_statistics_t::arbitration_lost_count |
Arbitration lost count.
| hf_u32_t hf_i2c_statistics_t::bus_errors |
Bus error count.
| hf_u64_t hf_i2c_statistics_t::bytes_read |
Total bytes read.
| hf_u64_t hf_i2c_statistics_t::bytes_written |
Total bytes written.
| hf_u32_t hf_i2c_statistics_t::clock_stretch_timeouts |
Clock stretch timeouts.
| hf_u32_t hf_i2c_statistics_t::devices_added |
Devices added to bus.
| hf_u32_t hf_i2c_statistics_t::devices_removed |
Devices removed from bus.
| hf_u64_t hf_i2c_statistics_t::failed_transactions |
Failed transactions.
| hf_u32_t hf_i2c_statistics_t::max_transaction_time_us |
Longest transaction time.
| hf_u32_t hf_i2c_statistics_t::min_transaction_time_us |
Shortest transaction time.
| hf_u32_t hf_i2c_statistics_t::nack_errors |
NACK error count.
| hf_u64_t hf_i2c_statistics_t::successful_transactions |
Successful transactions.
| hf_u64_t hf_i2c_statistics_t::timeout_count |
Transaction timeouts.
| hf_u64_t hf_i2c_statistics_t::total_transaction_time_us |
Total transaction time.
| hf_u64_t hf_i2c_statistics_t::total_transactions |
Total transactions attempted.