27 lines
411 B
C++
27 lines
411 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_ */
|