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@0:65cfa4873284, 2016-09-01 (annotated)
- Committer:
- jmarkel44
- Date:
- Thu Sep 01 18:57:04 2016 +0000
- Revision:
- 0:65cfa4873284
- Child:
- 1:057d8fc6cb2f
Base version (threading + messaging based on mbed 5.0);
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 | 0:65cfa4873284 | 10 | void ConfigurationHandler(void const *args); |
jmarkel44 | 0:65cfa4873284 | 11 | void ConfigurationHandler_DisplayThreads(void); |
jmarkel44 | 0:65cfa4873284 | 12 | |
jmarkel44 | 0:65cfa4873284 | 13 | extern void TimerControl(void const *args); |
jmarkel44 | 0:65cfa4873284 | 14 | extern void ManualControl(void const *args); |
jmarkel44 | 0:65cfa4873284 | 15 | extern void SetpointControl(void const *args); |
jmarkel44 | 0:65cfa4873284 | 16 | extern void CompositeControl(void const *args); |
jmarkel44 | 0:65cfa4873284 | 17 | extern void PIDControl(void const *args); |
jmarkel44 | 0:65cfa4873284 | 18 | |
jmarkel44 | 0:65cfa4873284 | 19 | typedef struct args_t { |
jmarkel44 | 0:65cfa4873284 | 20 | char filename[32]; |
jmarkel44 | 0:65cfa4873284 | 21 | unsigned int reserved; |
jmarkel44 | 0:65cfa4873284 | 22 | } Args_t; |
jmarkel44 | 0:65cfa4873284 | 23 | |
jmarkel44 | 0:65cfa4873284 | 24 | typedef struct Tcb_tag { |
jmarkel44 | 0:65cfa4873284 | 25 | Thread *t; |
jmarkel44 | 0:65cfa4873284 | 26 | Args_t args; |
jmarkel44 | 0:65cfa4873284 | 27 | } Tcb_t; |
jmarkel44 | 0:65cfa4873284 | 28 | |
jmarkel44 | 0:65cfa4873284 | 29 | #endif |