Definition of commands, errors, etc, for the microcontroller. More...

Go to the source code of this file.
Macros | |
| #define | DIMMER_COUNT 6 |
| #define | PU_COUNT 3 |
| #define | INFO_SIZE (4+4*DIMMER_COUNT+3*PU_COUNT) |
| #define | PU_LIGHT1 1 |
| #define | PU_LIGHT2 2 |
| #define | PU_RECEPTACLE 3 |
| #define | PUSTATE_OFF 1 |
| #define | PUSTATE_ON 2 |
| #define | PUSTATE_DIM 3 |
| #define | COM_NOTHING 0 |
| #define | COM_INFO 1 |
| #define | COM_ON 2 |
| #define | COM_OFF 3 |
| #define | COM_LEVEL 4 |
| #define | RES_SUCCESS 0 |
| #define | RES_INVALID_START 1 |
| #define | RES_INVALID_COM 2 |
| #define | RES_INVALID_ID 3 |
| #define | RES_NODIMMER 4 |
| #define | RES_NOGENCLOCK 5 |
| #define | RES_FAILURE 126 |
Definition of commands, errors, etc, for the microcontroller.
This file is shared between the microcontroller source and GUI source and therefore is written in strict C code
Definition in file commands.h.
| #define COM_INFO 1 |
Definition at line 30 of file commands.h.
| #define COM_LEVEL 4 |
Definition at line 33 of file commands.h.
| #define COM_NOTHING 0 |
Definition at line 29 of file commands.h.
| #define COM_OFF 3 |
Definition at line 32 of file commands.h.
| #define COM_ON 2 |
Definition at line 31 of file commands.h.
| #define DIMMER_COUNT 6 |
Definition at line 13 of file commands.h.
| #define INFO_SIZE (4+4*DIMMER_COUNT+3*PU_COUNT) |
Definition at line 15 of file commands.h.
| #define PU_COUNT 3 |
Definition at line 14 of file commands.h.
| #define PU_LIGHT1 1 |
Definition at line 19 of file commands.h.
| #define PU_LIGHT2 2 |
Definition at line 20 of file commands.h.
| #define PU_RECEPTACLE 3 |
Definition at line 21 of file commands.h.
| #define PUSTATE_DIM 3 |
Definition at line 26 of file commands.h.
| #define PUSTATE_OFF 1 |
Definition at line 24 of file commands.h.
| #define PUSTATE_ON 2 |
Definition at line 25 of file commands.h.
| #define RES_FAILURE 126 |
Definition at line 43 of file commands.h.
| #define RES_INVALID_COM 2 |
Definition at line 39 of file commands.h.
| #define RES_INVALID_ID 3 |
Definition at line 40 of file commands.h.
| #define RES_INVALID_START 1 |
Definition at line 38 of file commands.h.
| #define RES_NODIMMER 4 |
Definition at line 41 of file commands.h.
| #define RES_NOGENCLOCK 5 |
Definition at line 42 of file commands.h.
| #define RES_SUCCESS 0 |
Definition at line 37 of file commands.h.
1.8.4