- tested AND network and new suntime units. - add unit XML property "invert" (inverts output for logical units)
31 lines
896 B
C
31 lines
896 B
C
/****************************************************************************
|
|
* This file is part of the project AqHome.
|
|
* AqHome (c) by 2024 Martin Preuss, all rights reserved.
|
|
*
|
|
* The license for this file can be found in the file COPYING which you
|
|
* should have received along with this file.
|
|
****************************************************************************/
|
|
|
|
#ifndef AQHOMEREACT_U_LOGICAL_H
|
|
#define AQHOMEREACT_U_LOGICAL_H
|
|
|
|
|
|
#include "aqhome-react/aqhome_react.h"
|
|
#include "aqhome-react/types/unit.h"
|
|
|
|
|
|
AQHREACT_UNIT *AqHomeReact_UnitOr_new(AQHOME_REACT *aqh);
|
|
AQHREACT_UNIT *AqHomeReact_UnitNor_new(AQHOME_REACT *aqh);
|
|
|
|
AQHREACT_UNIT *AqHomeReact_UnitAnd_new(AQHOME_REACT *aqh);
|
|
AQHREACT_UNIT *AqHomeReact_UnitNand_new(AQHOME_REACT *aqh);
|
|
|
|
AQHREACT_UNIT *AqHomeReact_UnitXor_new(AQHOME_REACT *aqh);
|
|
AQHREACT_UNIT *AqHomeReact_UnitInvert_new(AQHOME_REACT *aqh);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|