27 lines
411 B
C++
27 lines
411 B
C++
|
|
/*
|
|||
|
|
* IAdcResult.hpp
|
|||
|
|
*
|
|||
|
|
* Created on: 26 <EFBFBD><EFBFBD><EFBFBD>. 2019 <EFBFBD>.
|
|||
|
|
* Author: titov
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#ifndef SOURCE_PERIPHERAL_IADCRESULT_HPP_
|
|||
|
|
#define SOURCE_PERIPHERAL_IADCRESULT_HPP_
|
|||
|
|
|
|||
|
|
#include <stdint.h>
|
|||
|
|
|
|||
|
|
namespace peripheral {
|
|||
|
|
|
|||
|
|
template<typename Type>
|
|||
|
|
class IAdcResult {
|
|||
|
|
public:
|
|||
|
|
virtual const volatile Type * result() const = 0;
|
|||
|
|
virtual ~IAdcResult() = default;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
#endif /* SOURCE_PERIPHERAL_IADCRESULT_HPP_ */
|