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
src/ConfigurationHandler/ConfigurationHandler.h@189:546b04f89b19, 2016-10-05 (annotated)
- Committer:
- davidjhoward
- Date:
- Wed Oct 05 21:51:01 2016 +0000
- Revision:
- 189:546b04f89b19
- Parent:
- 156:44f87c5a83ae
- Child:
- 220:dbe21411f962
mask relay float value to get correct bool value
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jmarkel44 | 0:65cfa4873284 | 1 | /****************************************************************************** |
jmarkel44 | 0:65cfa4873284 | 2 | * |
jmarkel44 | 0:65cfa4873284 | 3 | * File: ConfigurationHandler.h |
jmarkel44 | 0:65cfa4873284 | 4 | * Desciption: interface file for the ICE Configuration Handler |
jmarkel44 | 0:65cfa4873284 | 5 | * |
jmarkel44 | 0:65cfa4873284 | 6 | *****************************************************************************/ |
jmarkel44 | 0:65cfa4873284 | 7 | #ifndef CONFIGURATION_HANDLER_H |
jmarkel44 | 0:65cfa4873284 | 8 | #define CONFIGURATION_HANDLER_H |
jmarkel44 | 0:65cfa4873284 | 9 | |
jmarkel44 | 46:4cb96ab2d1c8 | 10 | #include "SetpointControl.h" |
jmarkel44 | 46:4cb96ab2d1c8 | 11 | #include "TimerControl.h" |
jmarkel44 | 97:5cf6ab71dcd0 | 12 | #include "ManualControl.h" |
jmarkel44 | 46:4cb96ab2d1c8 | 13 | #include <map> |
jmarkel44 | 46:4cb96ab2d1c8 | 14 | |
jmarkel44 | 0:65cfa4873284 | 15 | void ConfigurationHandler(void const *args); |
jmarkel44 | 12:ea87887ca7ad | 16 | void ConfigurationHandler_showControls(void); |
jmarkel44 | 12:ea87887ca7ad | 17 | |
jmarkel44 | 156:44f87c5a83ae | 18 | // map["control_sp_1.json"] : setpointControl |
jmarkel44 | 46:4cb96ab2d1c8 | 19 | typedef map<string, SetpointControl*> StringSetpointMap; |
jmarkel44 | 156:44f87c5a83ae | 20 | |
jmarkel44 | 156:44f87c5a83ae | 21 | // map["o_rly1"] : vector<TimerControl>.first |
jmarkel44 | 156:44f87c5a83ae | 22 | // vector<TimerControl>.second |
jmarkel44 | 156:44f87c5a83ae | 23 | // map["o_rly2"] : vector<TimerControl>.first |
jmarkel44 | 156:44f87c5a83ae | 24 | typedef map<string, vector<TimerControl*> > StringVectorTimerMap; |
jmarkel44 | 156:44f87c5a83ae | 25 | |
jmarkel44 | 156:44f87c5a83ae | 26 | //map["control_mn_1.json"] : manualControl |
jmarkel44 | 97:5cf6ab71dcd0 | 27 | typedef map<string, ManualControl*> StringManualMap; |
jmarkel44 | 46:4cb96ab2d1c8 | 28 | |
jmarkel44 | 156:44f87c5a83ae | 29 | extern StringSetpointMap setpointTable; |
jmarkel44 | 156:44f87c5a83ae | 30 | extern StringVectorTimerMap timerTable; |
jmarkel44 | 156:44f87c5a83ae | 31 | extern StringManualMap manualTable; |
jmarkel44 | 0:65cfa4873284 | 32 | |
jmarkel44 | 0:65cfa4873284 | 33 | #endif |