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
592 B
C++

/*
* TriggerRS.h
*
* Author: Aleksey Gerasimenko
* gerasimenko.aleksey.n@gmail.com
*/
#include <math.h>
#include <stdint.h>
#ifndef SYSCTRL_TRIGGERRS_H_
#define SYSCTRL_TRIGGERRS_H_
#include "SYSCTRL/TriggerBase.h"
namespace SYSCTRL
{
class TriggerRS: public TriggerBase
{
public:
TriggerRS();
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_TRIGGERRS_H_ */