|
|
@@ -1018,17 +1018,6 @@ u8 PMSM_FOC_GetErrCode(void) {
|
|
|
return gFoc_Ctrl.out.n_Error;
|
|
|
}
|
|
|
|
|
|
-void PMSM_FOC_SetCriticalError(u8 err) {
|
|
|
- gFoc_Ctrl.out.n_CritiCalErrMask |= (1u << err);
|
|
|
-}
|
|
|
-
|
|
|
-void PMSM_FOC_ClrCriticalError(u8 err) {
|
|
|
- gFoc_Ctrl.out.n_CritiCalErrMask &= ~(1u << err);
|
|
|
-}
|
|
|
-
|
|
|
-u32 PMSM_FOC_GetCriticalError(void) {
|
|
|
- return gFoc_Ctrl.out.n_CritiCalErrMask;
|
|
|
-}
|
|
|
|
|
|
void PMSM_FOC_Set_PlotType(Plot_t t) {
|
|
|
gFoc_Ctrl.plot_type = t;
|