27 lines
415 B
C++
27 lines
415 B
C++
/*
|
||
* IAdcResult.hpp
|
||
*
|
||
* Created on: 26 июл. 2019 г.
|
||
* 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_ */
|