MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/peripheral/IPwmTrip.hh

31 lines
577 B
C++
Raw Permalink Normal View History

2024-06-07 11:12:56 +03:00
/*
* IPwmTrip.h
*
* Created on: 1 нояб. 2016 г.
* Author: titov
*/
#ifndef SOURCE_PERIPHERAL_IPWMTRIP_H_
#define SOURCE_PERIPHERAL_IPWMTRIP_H_
namespace peripheral {
class IPwmTrip {
public:
//!Проверка флага срабатывания аварийного выхода.
/*!Функция возвращает состояние флага.
*
*/
virtual bool isTripped() const = 0;
virtual bool isCycleTripped() const = 0;
virtual void resetTrip() = 0;
virtual ~IPwmTrip() = default;
};
}
#endif /* SOURCE_PERIPHERAL_IPWMTRIP_H_ */