Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/ConfigurationHandler/Controls/TimerControl.h
- Revision:
- 111:d31b3a347e6a
- Parent:
- 35:6235ef67faa1
diff -r 1e1b7c733880 -r d31b3a347e6a src/ConfigurationHandler/Controls/TimerControl.h --- a/src/ConfigurationHandler/Controls/TimerControl.h Thu Sep 22 15:16:55 2016 +0000 +++ b/src/ConfigurationHandler/Controls/TimerControl.h Thu Sep 22 16:12:12 2016 +0000 @@ -16,17 +16,12 @@ private: string controlFile; // name of the control file string id; // identifier - string name; // friendly name unsigned int priority; // control priority + unsigned int dayOfWeek; // day of week + unsigned int startWeek; // starting week string output; - unsigned int dayOfWeek; // days of the week - unsigned int startWeek; // starting week - unsigned int freq; - typedef struct tod_tag { - unsigned int start; - unsigned int interval; - } Tod_t; - Tod_t tod; + unsigned int startTime; // starting time + unsigned int duration; // duration (in ?) public: TimerControl() {}; @@ -38,6 +33,10 @@ string getControlFile(void) { return controlFile; } + void display(void); + int start(void); + int update(void); + int unregisterControl(void); }; #endif