You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
610 B
C

/*
* TriggerFault.h
*
* Author: Aleksey Gerasimenko
* gerasimenko.aleksey.n@gmail.com
*/
#include <math.h>
#include <stdint.h>
#ifndef SYSCTRL_TRIGGERFAULT_H_
#define SYSCTRL_TRIGGERFAULT_H_
#include "SYSCTRL/TriggerBase.h"
namespace SYSCTRL
{
class TriggerFault: public TriggerBase
{
public:
TriggerFault();
void setSET(bool set);
void setRESET(bool reset);
void execute();
void clear();
bool getOUT();
bool getPOSITIVE();
bool getNEGATIVE();
bool isPOSITIVE();
bool isNEGATIVE();
};
} /* namespace SYSCTRL */
#endif /* SYSCTRL_TRIGGERFAULT_H_ */