MotorWare f2806x Module API Documentation

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

est_Flux_states.h
Go to the documentation of this file.
1 #ifndef _EST_FLUX_STATES_H_
2 #define _EST_FLUX_STATES_H_
3
9
10
11 // **************************************************************************
12 // the includes
13
18
19
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25
26 // **************************************************************************
27 // the defines
28
29
30 // **************************************************************************
31 // the typedefs
32
35 typedef enum
36 {
37 EST_Flux_ErrorCode_NoError=0,
38 EST_Flux_ErrorCode_ShiftOverFlow,
39 EST_Flux_ErrorCode_Clip,
40 EST_Flux_numErrorCodes
41 } EST_Flux_ErrorCode_e;
42
43
46 typedef enum
47 {
48 EST_Flux_State_Error=0,
49 EST_Flux_State_Idle,
50 EST_Flux_State_CL1,
51 EST_Flux_State_CL2,
52 EST_Flux_State_Fine,
53 EST_Flux_State_Done,
54 EST_Flux_numStates
55 } EST_Flux_State_e;
56
57
58 // **************************************************************************
59 // the globals
60
61
62 // **************************************************************************
63 // the function prototypes
64
65
66 #ifdef __cplusplus
67 }
68 #endif // extern "C"
69
71 #endif // end of _EST_FLUX_STATES_H_ definition
72
EST_Flux_State_Idle
idle state
Definition: est_Flux_states.h:49
EST_Flux_State_Error
error state
Definition: est_Flux_states.h:48
EST_Flux_State_Done
done state
Definition: est_Flux_states.h:53
EST_Flux_ErrorCode_NoError
no error error code
Definition: est_Flux_states.h:37
EST_Flux_ErrorCode_ShiftOverFlow
flux shift overflow error code
Definition: est_Flux_states.h:38
EST_Flux_State_e
EST_Flux_State_e
Enumeration for the estimator states.
Definition: est_Flux_states.h:46
EST_Flux_State_CL2
closed loop control stage 2
Definition: est_Flux_states.h:51
EST_Flux_ErrorCode_e
EST_Flux_ErrorCode_e
Enumeration for the estimator error codes.
Definition: est_Flux_states.h:35
EST_Flux_numErrorCodes
the number of estimator error codes
Definition: est_Flux_states.h:40
EST_Flux_State_CL1
closed loop control stage 1
Definition: est_Flux_states.h:50
EST_Flux_ErrorCode_Clip
flux clip error code
Definition: est_Flux_states.h:39
EST_Flux_State_Fine
fine estimate of flux
Definition: est_Flux_states.h:52
EST_Flux_numStates
the number of flux estimator states
Definition: est_Flux_states.h:54