MotorWare f2806x Module API Documentation

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

ctrl_states.h
Go to the documentation of this file.
1 #ifndef _CTRL_STATES_H_
2 #define _CTRL_STATES_H_
3
8
9
10 // **************************************************************************
11 // the includes
12
17
18
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24
25 // **************************************************************************
26 // the defines
27
28
29 // **************************************************************************
30 // the typedefs
31
34 typedef enum {
35 CTRL_State_Error=0,
36 CTRL_State_Idle,
37 CTRL_State_OffLine,
38 CTRL_State_OnLine,
39 CTRL_numStates
40 } CTRL_State_e;
41
42
43 // **************************************************************************
44 // the globals
45
46
47 // **************************************************************************
48 // the function prototypes
49
50
51 #ifdef __cplusplus
52 }
53 #endif // extern "C"
54
56
57 #endif // end of _CTRL_STATES_H_ definition
58
CTRL_State_Error
the controller error state
Definition: ctrl_states.h:35
CTRL_numStates
the number of controller states
Definition: ctrl_states.h:39
CTRL_State_Idle
the controller idle state
Definition: ctrl_states.h:36
CTRL_State_e
CTRL_State_e
Enumeration for the controller states.
Definition: ctrl_states.h:34
CTRL_State_OnLine
the controller online state
Definition: ctrl_states.h:38
CTRL_State_OffLine
the controller offline state
Definition: ctrl_states.h:37