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@2:da28f21b72a1, 2016-09-01 (annotated)
- Committer:
- jmarkel44
- Date:
- Thu Sep 01 20:32:42 2016 +0000
- Revision:
- 2:da28f21b72a1
- Parent:
- 1:057d8fc6cb2f
- Child:
- 3:8ea4db957749
thread updates;
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 | 2:da28f21b72a1 | 10 | #include "rtos.h" // for Thread |
jmarkel44 | 2:da28f21b72a1 | 11 | |
jmarkel44 | 0:65cfa4873284 | 12 | void ConfigurationHandler(void const *args); |
jmarkel44 | 0:65cfa4873284 | 13 | void ConfigurationHandler_DisplayThreads(void); |
jmarkel44 | 0:65cfa4873284 | 14 | |
jmarkel44 | 0:65cfa4873284 | 15 | extern void TimerControl(void const *args); |
jmarkel44 | 0:65cfa4873284 | 16 | extern void ManualControl(void const *args); |
jmarkel44 | 0:65cfa4873284 | 17 | extern void SetpointControl(void const *args); |
jmarkel44 | 0:65cfa4873284 | 18 | extern void CompositeControl(void const *args); |
jmarkel44 | 0:65cfa4873284 | 19 | extern void PIDControl(void const *args); |
jmarkel44 | 0:65cfa4873284 | 20 | |
jmarkel44 | 0:65cfa4873284 | 21 | typedef struct args_t { |
jmarkel44 | 1:057d8fc6cb2f | 22 | char controlFile[32]; |
jmarkel44 | 1:057d8fc6cb2f | 23 | unsigned int reserved; // for future use |
jmarkel44 | 1:057d8fc6cb2f | 24 | } Args_t; |
jmarkel44 | 0:65cfa4873284 | 25 | |
jmarkel44 | 0:65cfa4873284 | 26 | typedef struct Tcb_tag { |
jmarkel44 | 2:da28f21b72a1 | 27 | Thread *thread; // printer to control thread |
jmarkel44 | 2:da28f21b72a1 | 28 | Args_t *args; // pointer to control thread args |
jmarkel44 | 0:65cfa4873284 | 29 | } Tcb_t; |
jmarkel44 | 0:65cfa4873284 | 30 | |
jmarkel44 | 0:65cfa4873284 | 31 | #endif |