object-oriented C++ RTOS for microcontrollers
|SpiMasterBase's destructor. More...|
|virtual void||transferCompleteEvent (SpiMasterErrorSet errorSet, size_t bytesTransfered)=0|
|"Transfer complete" event More...|
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
"Transfer complete" event
Called by low-level SPI master driver when the transfer is physically finished.
|[in]||errorSet||is the set of error bits|
|[in]||bytesTransfered||is the number of bytes transfered by low-level SPI master driver (read from write buffer and/or written to read buffer), may be unreliable if errorSet is not empty (i.e. transfer error was detected)|
Implemented in distortos::devices::SpiMaster.