70 bool enabled()
override;
73 void enabled(
bool)
override;
76 std::vector<uint8_t> sendReceive(std::vector<uint8_t> dataToWrite,
84 std::vector<uint8_t> sendReceive(std::vector<uint8_t> dataToWrite,
Built-in SPI peripheral.
Definition: HardwareSpi.h:65
SpiMode
Defines the clock phase and polarity used for SPI communication.
Definition: SpiMode.h:10
SpiBurstMode
The SPI burst mode to use.
Definition: SpiBurstMode.h:7
An SPI port.
Definition: Spi.h:15
The core class for communicating with Treehopper USB boards.
Definition: TreehopperUsb.h:59
Clock is initially low; data is valid on the rising edge of the clock
CS is asserted low, the SPI transaction takes place, and then the signal is returned high...
Definition: SpiChipSelectPin.h:7
No burst – always read the same number of bytes as transmitted.
#define TREEHOPPER_API
Definition: Treehopper.h:17
ChipSelectMode
Definition: ChipSelectMode.h:3