distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
SpiMasterBase.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_DEVICES_COMMUNICATION_SPIMASTERBASE_HPP_
13 #define INCLUDE_DISTORTOS_DEVICES_COMMUNICATION_SPIMASTERBASE_HPP_
14 
15 namespace distortos
16 {
17 
18 namespace devices
19 {
20 
29 {
30 public:
31 
36  virtual ~SpiMasterBase() = default;
37 
46  virtual void transferCompleteEvent(bool success) = 0;
47 };
48 
49 } // namespace devices
50 
51 } // namespace distortos
52 
53 #endif // INCLUDE_DISTORTOS_DEVICES_COMMUNICATION_SPIMASTERBASE_HPP_
Definition: SpiMasterBase.hpp:28
virtual ~SpiMasterBase()=default
SpiMasterBase's destructor.
Top-level namespace of distortos project.
Definition: buttons.hpp:33
virtual void transferCompleteEvent(bool success)=0
"Transfer complete" event