MotorWare f2806x Module API Documentation

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

cal_states.h
Go to the documentation of this file.
1 #ifndef _CAL_STATES_H_
2 #define _CAL_STATES_H_
3
9
10
11 // **************************************************************************
12 // the includes
13
14
15 // drivers
16
17
18 // modules
19
20
21 // solutions
22
23
26
29
30
31
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35
36
37 // **************************************************************************
38 // the defines
39
40
41 // **************************************************************************
42 // the typedefs
43
46 typedef enum
47 {
48 CAL_State_Error = 0,
49 CAL_State_Idle = 1,
50 CAL_State_AdcOffset = 2,
51 CAL_State_Done = 3,
52 CAL_numStates = 4
53 } CAL_State_e;
54
55
56 // **************************************************************************
57 // the globals
58
59
60 // **************************************************************************
61 // the function prototypes
62
63
64 #ifdef __cplusplus
65 }
66 #endif // extern "C"
67
69
70 #endif // end of _CAL_STATES_H_ definition
71
72
CAL_State_Error
error state
Definition: cal_states.h:48
CAL_State_e
CAL_State_e
Defines the CAL states.
Definition: cal_states.h:46
CAL_State_Idle
idle state
Definition: cal_states.h:49
CAL_State_AdcOffset
ADC offset calibration state.
Definition: cal_states.h:50
CAL_State_Done
done state
Definition: cal_states.h:51
CAL_numStates
the total number of states
Definition: cal_states.h:52