#include "distortos/devices/communication/SpiDeviceSelectGuard.hpp"
SpiDeviceSelectGuard is a RAII-style class for selecting SPI device.
◆ SpiDeviceSelectGuard()
distortos::devices::SpiDeviceSelectGuard::SpiDeviceSelectGuard |
( |
OutputPin & |
slaveSelectPin | ) |
|
|
inlineexplicit |
SpiDeviceSelectGuard's constructor.
- Parameters
-
[in] | slaveSelectPin | is a reference to slave select pin of this SPI slave device |
◆ ~SpiDeviceSelectGuard()
distortos::devices::SpiDeviceSelectGuard::~SpiDeviceSelectGuard |
( |
| ) |
|
|
inline |
◆ slaveSelectPin_
OutputPin& distortos::devices::SpiDeviceSelectGuard::slaveSelectPin_ |
|
private |
reference to slave select pin of this SPI slave device
The documentation for this class was generated from the following file: