28 lines
446 B
C++
28 lines
446 B
C++
/*
|
||
* IPort.h
|
||
*
|
||
* Created on: 22 окт. 2019 г.
|
||
* Author: user
|
||
*/
|
||
|
||
#ifndef SOURCE_PERIPHERAL_HARDWARE_IPORT_H_
|
||
#define SOURCE_PERIPHERAL_HARDWARE_IPORT_H_
|
||
|
||
#include <stdint.h>
|
||
|
||
namespace peripheral {
|
||
|
||
class IPort {
|
||
public:
|
||
virtual void set( uint32_t pin_mask ) = 0;
|
||
virtual void clear( uint32_t pin_mask ) = 0;
|
||
|
||
virtual ~IPort() = default;
|
||
|
||
};
|
||
|
||
}
|
||
|
||
|
||
#endif /* SOURCE_PERIPHERAL_HARDWARE_IPORT_H_ */
|