Fix ADC sampling
[matches/MCTX3420.git] / server / control.h
1 /**
2  * @file control.h
3  * @brief Header file for control functions
4  */
5 #ifndef _CONTROL_H
6 #define _CONTROL_H
7
8 typedef enum ControlModes {
9         CONTROL_START,
10         CONTROL_PAUSE,
11         CONTROL_RESUME,
12         CONTROL_STOP,
13         CONTROL_EMERGENCY
14 } ControlModes;
15
16 /** ID codes for all the actuators **/
17 extern void Control_Handler(FCGIContext *context, char *params);
18 extern const char* Control_SetMode(ControlModes desired_mode, void * arg);
19 extern ControlModes Control_GetMode();
20 extern const char * Control_GetModeName(ControlModes mode);
21 //extern bool Control_Lock();
22 //extern void Control_Unlock();
23 extern const struct timeval* Control_GetStartTime();
24
25 #endif

UCC git Repository :: git.ucc.asn.au