|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
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. | |
SPI diagnostic information.
|
inlinenoexcept |
| hf_u32_t hf_spi_diagnostics_t::current_clock_speed |
Current clock speed in Hz.
| hf_u8_t hf_spi_diagnostics_t::current_mode |
Current SPI mode.
| hf_u8_t hf_spi_diagnostics_t::device_count |
Number of registered devices.
| bool hf_spi_diagnostics_t::dma_enabled |
DMA enabled state.
| hf_u64_t hf_spi_diagnostics_t::failed_transactions |
Failed transactions count.
| bool hf_spi_diagnostics_t::is_bus_suspended |
Bus suspension state.
| bool hf_spi_diagnostics_t::is_initialized |
Initialization state.
| hf_u32_t hf_spi_diagnostics_t::last_error |
Last error code.
| hf_u16_t hf_spi_diagnostics_t::max_transfer_size |
Maximum transfer size.
| hf_u64_t hf_spi_diagnostics_t::total_transactions |
Total transactions performed.