|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
I2C diagnostic information. More...
#include <BaseI2c.h>
Public Member Functions | |
| hf_i2c_diagnostics_t () noexcept | |
Public Attributes | |
| bool | bus_healthy |
| Overall bus health status. | |
| bool | sda_line_state |
| Current SDA line state. | |
| bool | scl_line_state |
| Current SCL line state. | |
| bool | bus_locked |
| Bus lock status. | |
| hf_i2c_err_t | last_error_code |
| Last error code encountered. | |
| hf_u64_t | last_error_timestamp_us |
| Timestamp of last error. | |
| hf_u32_t | consecutive_errors |
| Consecutive error count. | |
| hf_u32_t | error_recovery_attempts |
| Bus recovery attempts. | |
| float | bus_utilization_percent |
| Bus utilization percentage. | |
| hf_u32_t | average_response_time_us |
| Average device response time. | |
| hf_u32_t | clock_stretching_events |
| Clock stretching event count. | |
| hf_u32_t | active_device_count |
| Number of active devices on bus. | |
| hf_u32_t | total_device_scans |
| Total device scan operations. | |
| hf_u32_t | devices_found_last_scan |
| Devices found in last scan. | |
I2C diagnostic information.
|
inlinenoexcept |
| hf_u32_t hf_i2c_diagnostics_t::active_device_count |
Number of active devices on bus.
| hf_u32_t hf_i2c_diagnostics_t::average_response_time_us |
Average device response time.
| bool hf_i2c_diagnostics_t::bus_healthy |
Overall bus health status.
| bool hf_i2c_diagnostics_t::bus_locked |
Bus lock status.
| float hf_i2c_diagnostics_t::bus_utilization_percent |
Bus utilization percentage.
| hf_u32_t hf_i2c_diagnostics_t::clock_stretching_events |
Clock stretching event count.
| hf_u32_t hf_i2c_diagnostics_t::consecutive_errors |
Consecutive error count.
| hf_u32_t hf_i2c_diagnostics_t::devices_found_last_scan |
Devices found in last scan.
| hf_u32_t hf_i2c_diagnostics_t::error_recovery_attempts |
Bus recovery attempts.
| hf_i2c_err_t hf_i2c_diagnostics_t::last_error_code |
Last error code encountered.
| hf_u64_t hf_i2c_diagnostics_t::last_error_timestamp_us |
Timestamp of last error.
| bool hf_i2c_diagnostics_t::scl_line_state |
Current SCL line state.
| bool hf_i2c_diagnostics_t::sda_line_state |
Current SDA line state.
| hf_u32_t hf_i2c_diagnostics_t::total_device_scans |
Total device scan operations.