#include <mock_spi.hpp>
|
| auto | transfer (std::uint8_t byte) -> std::uint8_t |
| | Full-duplex byte transfer.
|
| |
| auto | write (std::span< const std::byte > data) -> void |
| | Bulk write operation.
|
| |
| auto | sent_bytes () const -> const std::vector< std::uint8_t > & |
| | Get vector of all bytes sent via transfer() and write().
|
| |
| auto | transfer_count () const -> std::size_t |
| | Get total number of bytes transferred.
|
| |
| auto | queue_response (std::uint8_t byte) -> void |
| | Queue a response byte for next transfer() call.
|
| |
| auto | reset () -> void |
| | Reset bus state for new test.
|
| |
◆ queue_response()
| auto epaper::hal::MockSpiBus::queue_response |
( |
std::uint8_t |
byte | ) |
-> void |
|
inline |
◆ reset()
| auto epaper::hal::MockSpiBus::reset |
( |
| ) |
-> void |
|
inline |
◆ sent_bytes()
| auto epaper::hal::MockSpiBus::sent_bytes |
( |
| ) |
const -> const std::vector<std::uint8_t> & |
|
inline |
◆ transfer()
| auto epaper::hal::MockSpiBus::transfer |
( |
std::uint8_t |
byte | ) |
-> std::uint8_t |
|
inline |
◆ transfer_count()
| auto epaper::hal::MockSpiBus::transfer_count |
( |
| ) |
const -> std::size_t |
|
inline |
◆ write()
| auto epaper::hal::MockSpiBus::write |
( |
std::span< const std::byte > |
data | ) |
-> void |
|
inline |
The documentation for this class was generated from the following file: