MotorControlModuleSDFM_TMS3.../Projects/EFC_Application/UMLibrary/peripheral/IPort.hh

28 lines
442 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_ */