|
Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
|
Fixed-capacity SPI transfer frame structure for zero-heap ISR and DMA ingestion. More...
#include <SpiAdapter.hpp>
Collaboration diagram for corium::embedded::SpiFrame< MaxRxSize >:Public Member Functions | |
| std::span< const uint8_t > | payload () const noexcept |
Public Attributes | |
| uint8_t | chipSelectId {0} |
| Chip-select / device channel identifier. | |
| uint16_t | length {0} |
| Number of valid received bytes. | |
| std::array< uint8_t, MaxRxSize > | rxData {} |
| Static receive buffer. | |
| uint8_t | status {0} |
| Hardware status flags (0: Success, 1: Error/Timeout) | |
Fixed-capacity SPI transfer frame structure for zero-heap ISR and DMA ingestion.
| MaxRxSize | Maximum receive buffer size in bytes (default: 32). |
|
inlinenoexcept |
| uint8_t corium::embedded::SpiFrame< MaxRxSize >::chipSelectId {0} |
Chip-select / device channel identifier.
| uint16_t corium::embedded::SpiFrame< MaxRxSize >::length {0} |
Number of valid received bytes.
| std::array<uint8_t, MaxRxSize> corium::embedded::SpiFrame< MaxRxSize >::rxData {} |
Static receive buffer.
| uint8_t corium::embedded::SpiFrame< MaxRxSize >::status {0} |
Hardware status flags (0: Success, 1: Error/Timeout)