HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
Loading...
Searching...
No Matches
hf_i2c_statistics_t Struct Reference

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.
 

Detailed Description

I2C operation statistics.

Constructor & Destructor Documentation

◆ hf_i2c_statistics_t()

hf_i2c_statistics_t::hf_i2c_statistics_t ( )
inlinenoexcept

Member Data Documentation

◆ arbitration_lost_count

hf_u32_t hf_i2c_statistics_t::arbitration_lost_count

Arbitration lost count.

◆ bus_errors

hf_u32_t hf_i2c_statistics_t::bus_errors

Bus error count.

◆ bytes_read

hf_u64_t hf_i2c_statistics_t::bytes_read

Total bytes read.

◆ bytes_written

hf_u64_t hf_i2c_statistics_t::bytes_written

Total bytes written.

◆ clock_stretch_timeouts

hf_u32_t hf_i2c_statistics_t::clock_stretch_timeouts

Clock stretch timeouts.

◆ devices_added

hf_u32_t hf_i2c_statistics_t::devices_added

Devices added to bus.

◆ devices_removed

hf_u32_t hf_i2c_statistics_t::devices_removed

Devices removed from bus.

◆ failed_transactions

hf_u64_t hf_i2c_statistics_t::failed_transactions

Failed transactions.

◆ max_transaction_time_us

hf_u32_t hf_i2c_statistics_t::max_transaction_time_us

Longest transaction time.

◆ min_transaction_time_us

hf_u32_t hf_i2c_statistics_t::min_transaction_time_us

Shortest transaction time.

◆ nack_errors

hf_u32_t hf_i2c_statistics_t::nack_errors

NACK error count.

◆ successful_transactions

hf_u64_t hf_i2c_statistics_t::successful_transactions

Successful transactions.

◆ timeout_count

hf_u64_t hf_i2c_statistics_t::timeout_count

Transaction timeouts.

◆ total_transaction_time_us

hf_u64_t hf_i2c_statistics_t::total_transaction_time_us

Total transaction time.

◆ total_transactions

hf_u64_t hf_i2c_statistics_t::total_transactions

Total transactions attempted.


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