|
arduino-emulator
|
Remote SPI implementation that operates over a communication stream. More...
#include <RemoteSPI.h>
Public Member Functions | |
| RemoteSPI (Stream *stream) | |
| void | attachInterrupt () |
| void | begin () |
| void | beginTransaction (SPISettings settings) |
| void | detachInterrupt () |
| void | end () |
| void | endTransaction (void) |
| void | notUsingInterrupt (int interruptNumber) |
| operator bool () | |
| void | setStream (Stream *stream) |
| uint8_t | transfer (uint8_t data) |
| void | transfer (void *buf, size_t count) |
| uint16_t | transfer16 (uint16_t data) |
| void | usingInterrupt (int interruptNumber) |
Protected Attributes | |
| HardwareService | service |
Remote SPI implementation that operates over a communication stream.
RemoteSPI provides SPI functionality by forwarding all operations to a remote SPI controller via a communication stream (serial, network, etc.). This enables SPI operations to be performed on remote hardware while maintaining the standard HardwareSPI interface.
Key features:
The class uses HardwareService for protocol handling and can work with any Stream implementation (Serial, TCP, etc.) for remote connectivity.
|
inlinevirtual |
Implements arduino::HardwareSPI.
|
inlinevirtual |
Implements arduino::HardwareSPI.
|
inlinevirtual |
Implements arduino::HardwareSPI.
|
inlinevirtual |
Implements arduino::HardwareSPI.
|
inlinevirtual |
Implements arduino::HardwareSPI.
Implements arduino::HardwareSPI.
Implements arduino::HardwareSPI.
Implements arduino::HardwareSPI.
Implements arduino::HardwareSPI.
Implements arduino::HardwareSPI.
Implements arduino::HardwareSPI.