uint8_t doScreenManualTest(void)
Definition: screen.c:216
prefixType
Definition: screen.h:33
prefixValue_t r
Definition: screen.h:54
uint8_t numberOfItems
Computed by initScreen()
Definition: screen.h:28
Contains the prefixValues for all sinks for display.
Definition: screen.h:50
uint8_t screenTimeout_t
Use a suitable unsigned type to allow the longest timeout you would need.
Definition: screen.h:11
const char txtSetPoint_t[]
The Text for Set Point.
Definition: screen.c:200
prefixValue_t i
Definition: screen.h:53
uint8_t lastPrefix
Prefix used at last update.
Definition: screen.h:43
screen_t screenVersion
The Version Screen.
Definition: screen.c:133
prefixValue_t p
Definition: screen.h:55
screenTimeout_t timeout
If >0, the screen is terminated after <timeout> Seconds.
Definition: screen.h:29
The control_t is a union of all possible control types.
Definition: control.h:92
screenItem_t inSink1_s
Definition: screen.h:63
Holds the data for a screen item.
Definition: screen.h:18
uint8_t Screen(screen_t *screen)
Handles a screen.
Definition: screen.c:374
uint8_t doScreenDischgTest(void)
Definition: screen.c:262
control_t * control
E.g. the text of a text field or the enterNumber_t of an input field.
Definition: screen.h:20
uint8_t retval
If retval !=0 the screen terminates if the user presses enter.
Definition: screen.h:21
Holds the structure to build up a screen.
Definition: screen.h:26
void doScreenSystem(void)
prefixValue_t u
Definition: screen.h:52
Holds the values for a prefix-value.
Definition: screen.h:41
void formatPrefixValue(prefixValue_t *val, double newVal)
Formats a value using SI-Prefix Letters.
Definition: screen.c:522