|
Open Garden
0.10.1-21
|
#include <ogstruct.h>

Data Fields | |
| uint8_t | check |
| uint8_t | number |
| uint8_t | qc |
| struct program_t | p [MAX_PROGS] |
| struct queue_t | q [MAX_PROGS] |
| float | tnow |
| float | t_mean |
| float | dfactor |
| uint8_t | position |
| uint8_t | valve |
| uint8_t | flags |
| uint8_t | ioline |
| I/O line in use (bitmapped). In bistable valve type, we store the line in use so it can be possible to disable such line once opened in order to close only the correct line. More... | |
| uint8_t | ioline_alarm |
| I/O lines alarm register (bitmapped). More... | |
Single structure to keep all the program.
| uint8_t programs_t::check |
control code, should be == CHECK_VALID_CODE.
at any new software release this code is used to know if the program stored in the flash memory is still compatibile with the new software.
| float programs_t::dfactor |
Drifting factor
| uint8_t programs_t::flags |
see FL_ definition for this bit mapped byte flag.
| uint8_t programs_t::ioline |
I/O line in use (bitmapped). In bistable valve type, we store the line in use so it can be possible to disable such line once opened in order to close only the correct line.
| uint8_t programs_t::ioline_alarm |
I/O lines alarm register (bitmapped).
This register represent which lines are not subject to an alarm, means it will NOT close the line if an alarm is detected. TRUE the line is not subject. Default to all FALSE = 0
| uint8_t programs_t::number |
number of valid programs 0..MAX_PROGS
| uint8_t programs_t::position |
sunlight position
| uint8_t programs_t::qc |
number of valid queue elements
| float programs_t::t_mean |
arithmetic temperature mean
| float programs_t::tnow |
temperature realtime
| uint8_t programs_t::valve |
valve type
1.8.13