MotorWare f2806x Module API Documentation

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

est_Ls_states.h
Go to the documentation of this file.
1 #ifndef _EST_LS_STATES_H_
2 #define _EST_LS_STATES_H_
3
9
10
11 // **************************************************************************
12 // the includes
13
14
19
20
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26
27 // **************************************************************************
28 // the defines
29
30 // **************************************************************************
31 // the typedefs
32
35 typedef enum
36 {
37 EST_Ls_ErrorCode_NoError=0,
38 EST_Ls_ErrorCode_ShiftOverFlow,
39 EST_Ls_numErrorCodes
40 } EST_Ls_ErrorCode_e;
41
42
45 typedef enum
46 {
47 EST_Ls_State_Error=0,
48 EST_Ls_State_Idle,
49 EST_Ls_State_RampUp,
50 EST_Ls_State_Init,
51 EST_Ls_State_Coarse,
52 EST_Ls_State_Fine,
53 EST_Ls_State_Done,
54 EST_Ls_numStates
55 } EST_Ls_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_LS_STATES_H_ definition
72
EST_Ls_State_Idle
idle
Definition: est_Ls_states.h:48
EST_Ls_numErrorCodes
the number of estimator error codes
Definition: est_Ls_states.h:39
EST_Ls_State_RampUp
the ramp up state
Definition: est_Ls_states.h:49
EST_Ls_ErrorCode_ShiftOverFlow
inductance shift overflow error code
Definition: est_Ls_states.h:38
EST_Ls_ErrorCode_NoError
no error error code
Definition: est_Ls_states.h:37
EST_Ls_State_Fine
the fine estimation state
Definition: est_Ls_states.h:52
EST_Ls_State_Init
the init state
Definition: est_Ls_states.h:50
EST_Ls_numStates
the number of stator inductance estimator states
Definition: est_Ls_states.h:54
EST_Ls_State_Error
error
Definition: est_Ls_states.h:47
EST_Ls_State_Coarse
the coarse estimation state
Definition: est_Ls_states.h:51
EST_Ls_ErrorCode_e
EST_Ls_ErrorCode_e
Enumeration for the stator inductance estimator error codes.
Definition: est_Ls_states.h:35
EST_Ls_State_Done
the done state
Definition: est_Ls_states.h:53
EST_Ls_State_e
EST_Ls_State_e
Enumeration for the stator inductance estimator states.
Definition: est_Ls_states.h:45