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

31 lines
577 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.

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