supla-device
Loading...
Searching...
No Matches
src
supla
definitions.h
1
// SPDX-FileCopyrightText: AC SOFTWARE SP. Z O.O.
2
// SPDX-License-Identifier: GPL-2.0-or-later
3
4
#ifndef SRC_SUPLA_DEFINITIONS_H_
5
#define SRC_SUPLA_DEFINITIONS_H_
6
7
#ifdef ARDUINO
8
#include <Arduino.h>
9
#endif
10
11
#ifndef LSBFIRST
12
#define LSBFIRST 0
13
#endif
/*LSBFIRST*/
14
15
#ifndef LOW
16
#define LOW 0
17
#endif
/*LOW*/
18
19
#ifndef HIGH
20
#define HIGH 1
21
#endif
/*HIGH*/
22
23
#ifndef INPUT
24
#define INPUT 0
25
#endif
/*INPUT*/
26
27
#ifndef INPUT_PULLUP
28
#define INPUT_PULLUP 2
29
#endif
/*INPUT_PULLUP*/
30
31
#ifndef OUTPUT
32
#define OUTPUT 1
33
#endif
/*OUTPUT*/
34
35
#ifndef RISING
36
#define RISING 0x01
37
#endif
/*RISING*/
38
39
#ifndef FALLING
40
#define FALLING 0x02
41
#endif
/*FALLING*/
42
43
#ifndef CHANGE
44
#define CHANGE 0x03
45
#endif
/*CHANGE*/
46
47
#ifndef ONLOW
48
#define ONLOW 0x04
49
#endif
/*ONLOW*/
50
51
#ifndef ONHIGH
52
#define ONHIGH 0x05
53
#endif
/*ONHIGH*/
54
55
#ifndef ONLOW_WE
56
#define ONLOW_WE 0x0C
57
#endif
/*ONLOW_WE*/
58
59
#ifndef ONHIGH_WE
60
#define ONHIGH_WE 0x0D
61
#endif
/*ONHIGH_WE*/
62
63
#endif
// SRC_SUPLA_DEFINITIONS_H_
Generated by
1.12.0