SetupDesignGuide.pdf - Firmware Encoding Index
SetupDesignGuide.pdf - Firmware Encoding Index
SetupDesignGuide.pdf - Firmware Encoding Index
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Setup Design Guide<br />
DRAFT<br />
4.2.15 time<br />
enddate;<br />
This command allows for the entry of time information.<br />
Notice that this is an example that the results of the user’s choice can be reflected into an NVRAM<br />
storage location. See 6.2 to learn more about NVRAM configuration and to better understand how this<br />
works programmatically.<br />
Also notice that date and time are the two functions that are likely to be included in a system for<br />
user input, yet not stored in a traditional NVRAM storage location. In this case, the destination is likely<br />
an RTC. This example shows the storage location as being NULL. Date and time are special cases<br />
where the storage location being NULL is translated into a call to the RTC (if available). In all other<br />
cases, a NULL parent will force the data the user inputs to be thrown away.<br />
Example: time hour varid = NULL.Hour,<br />
prompt = STR_TIME,<br />
help = STR_TIME_HOUR_HELP,<br />
min = 0,<br />
max = 23,<br />
step = 1,<br />
default = 0;<br />
minute varid = NULL.Minute,<br />
prompt = STR_TIME,<br />
help = STR_TIME_MINUTE_HELP,<br />
min = 0,<br />
max = 59,<br />
step = 1,<br />
default = 0;<br />
second varid = NULL.Second,<br />
prompt = STR_TIME,<br />
help = STR_TIME_SECOND_HELP,<br />
min = 0,<br />
max = 59,<br />
step = 1,<br />
default = 0;<br />
endtime;<br />
34