MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/peripheral/IPort.hh
2024-06-07 11:12:56 +03:00

28 lines
446 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* 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_ */