distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
select guard for SD card connected via SPI More...
Public Member Functions | |
SelectGuard (OutputPin &slaveSelectPin, const SpiMasterHandle &spiMasterHandle) | |
SelectGuard's constructor. More... | |
~SelectGuard () | |
SelectGuard's destructor. More... | |
![]() | |
SpiDeviceSelectGuard (OutputPin &slaveSelectPin) | |
SpiDeviceSelectGuard's constructor. More... | |
~SpiDeviceSelectGuard () | |
SpiDeviceSelectGuard's destructor. More... | |
SpiDeviceSelectGuard (const SpiDeviceSelectGuard &)=delete | |
SpiDeviceSelectGuard & | operator= (const SpiDeviceSelectGuard &)=delete |
Private Attributes | |
const SpiMasterHandle & | spiMasterHandle_ |
reference to SpiMasterHandle associated with this select guard More... | |
select guard for SD card connected via SPI
|
inline |
SelectGuard's constructor.
[in] | slaveSelectPin | is a reference to slave select pin of this SPI slave device |
[in] | spiMasterHandle | is a reference to SpiMasterHandle associated with this select guard |
|
inline |
SelectGuard's destructor.
|
private |
reference to SpiMasterHandle associated with this select guard