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

SPI diagnostic information. More...

#include <BaseSpi.h>

Public Member Functions

 hf_spi_diagnostics_t () noexcept
 

Public Attributes

bool is_initialized
 Initialization state.
 
bool is_bus_suspended
 Bus suspension state.
 
bool dma_enabled
 DMA enabled state.
 
hf_u32_t current_clock_speed
 Current clock speed in Hz.
 
hf_u8_t current_mode
 Current SPI mode.
 
hf_u16_t max_transfer_size
 Maximum transfer size.
 
hf_u8_t device_count
 Number of registered devices.
 
hf_u32_t last_error
 Last error code.
 
hf_u64_t total_transactions
 Total transactions performed.
 
hf_u64_t failed_transactions
 Failed transactions count.
 

Detailed Description

SPI diagnostic information.

Constructor & Destructor Documentation

◆ hf_spi_diagnostics_t()

hf_spi_diagnostics_t::hf_spi_diagnostics_t ( )
inlinenoexcept

Member Data Documentation

◆ current_clock_speed

hf_u32_t hf_spi_diagnostics_t::current_clock_speed

Current clock speed in Hz.

◆ current_mode

hf_u8_t hf_spi_diagnostics_t::current_mode

Current SPI mode.

◆ device_count

hf_u8_t hf_spi_diagnostics_t::device_count

Number of registered devices.

◆ dma_enabled

bool hf_spi_diagnostics_t::dma_enabled

DMA enabled state.

◆ failed_transactions

hf_u64_t hf_spi_diagnostics_t::failed_transactions

Failed transactions count.

◆ is_bus_suspended

bool hf_spi_diagnostics_t::is_bus_suspended

Bus suspension state.

◆ is_initialized

bool hf_spi_diagnostics_t::is_initialized

Initialization state.

◆ last_error

hf_u32_t hf_spi_diagnostics_t::last_error

Last error code.

◆ max_transfer_size

hf_u16_t hf_spi_diagnostics_t::max_transfer_size

Maximum transfer size.

◆ total_transactions

hf_u64_t hf_spi_diagnostics_t::total_transactions

Total transactions performed.


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