distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
distortos::devices::SpiMasterBase Class Referenceabstract

#include "distortos/devices/communication/SpiMasterBase.hpp"

Inheritance diagram for distortos::devices::SpiMasterBase:

Public Member Functions

virtual ~SpiMasterBase ()=default
 SpiMasterBase's destructor. More...
virtual void transferCompleteEvent (bool success)=0
 "Transfer complete" event More...

Detailed Description

SpiMasterBase class is an interface with callbacks for low-level SPI master driver, which can serve as a base for high-level SPI master drivers

Constructor & Destructor Documentation

◆ ~SpiMasterBase()

virtual distortos::devices::SpiMasterBase::~SpiMasterBase ( )

SpiMasterBase's destructor.

Member Function Documentation

◆ transferCompleteEvent()

virtual void distortos::devices::SpiMasterBase::transferCompleteEvent ( bool  success)
pure virtual

"Transfer complete" event

Called by low-level SPI master driver when the transfer is physically finished.

[in]successtells whether the transfer was successful (true) or not (false)

Implemented in distortos::devices::SpiMaster.

The documentation for this class was generated from the following file: