39 #define CHECK_VALID_CODE 0x09 53 #define SERNO_SIZE 0x10 58 #define PROG_MAX_FACTOR 3.0 60 #define PROG_TOMORROW_FACTOR 2.0 106 #define ALRM_THRESHOLD 3 uint8_t valve
Definition: ogstruct.h:195
time_t stop
Definition: ogstruct.h:157
uint8_t flag_get(struct programs_t *progs, const uint8_t bit)
Definition: ogstruct.c:65
uint8_t dow
Days of the week.
Definition: ogstruct.h:139
uint8_t position
Definition: ogstruct.h:193
Functions to activare and display (rs232) debug.
#define MAX_PROGS
maximum number of programs
Definition: ogstruct.h:56
uint8_t ioline
I/O line in use (bitmapped). In bistable valve type, we store the line in use so it can be possible t...
Definition: ogstruct.h:206
uint8_t number
Definition: ogstruct.h:179
time_t start
Definition: ogstruct.h:155
uint8_t check
Definition: ogstruct.h:177
uint8_t hstart
start time (hours)
Definition: ogstruct.h:145
uint8_t oline
Definition: ogstruct.h:159
uint8_t mstart
Definition: ogstruct.h:147
uint8_t flags
Definition: ogstruct.h:197
uint8_t qc
Definition: ogstruct.h:181
the queue buffer
Definition: ogstruct.h:153
uint16_t dmin
Definition: ogstruct.h:149
uint8_t status
Definition: ogstruct.h:161
Definition: ogstruct.h:127
float dfactor
Definition: ogstruct.h:191
Definition: ogstruct.h:170
unsigned long time_t
Definition: time.h:62
uint8_t oline
Output line from 0 to 7.
Definition: ogstruct.h:142
time high level functions.
void flag_set(struct programs_t *progs, const uint8_t bit, const uint8_t val)
Definition: ogstruct.c:44
float tnow
Definition: ogstruct.h:187
float t_mean
Definition: ogstruct.h:189
uint8_t ioline_alarm
I/O lines alarm register (bitmapped).
Definition: ogstruct.h:215