generic SPI device wrapper. More...
#include <spi.h>
Inherited by AS5145< chainlength >, MAX31855, and MAX31865.
Classes | |
| struct | Conf |
| SPI Configuration. More... | |
Public Member Functions | |
| void | select (bool sel) |
| chipselect activation | |
| virtual void | callback (const Request req)=0 |
| is called as soon as requested data arrived over wire | |
Public Attributes | |
| DIO | cs |
| GPIO chipselect line. | |
| struct SPI::Device::Conf | conf |
| necessary SPI configuration | |
generic SPI device wrapper.
Implement SPI devices with this as a base class to make use of the asynchronous SPI::HW bus.
|
inline |
chipselect activation
| sel | true/false |