X-CUBE-SPN11 for X-NUCLEO-IHM11M1
|
MC_Task_Speed
Main task: Speed Loop with PI regulator. More...
Functions | |
void | MC_Task_Speed (void) |
Detailed Description
Main task: Speed Loop with PI regulator.
- Return values
-
None
Function Documentation
void MC_Task_Speed | ( | void | ) |
Definition at line 838 of file 6Step_Lib.c.
References SIXSTEP_Base_InitTypeDef::BEMF_OK, SIXSTEP_Base_InitTypeDef::CL_READY, SIXSTEP_Base_InitTypeDef::Current_Reference, dac_status, MC_Bemf_Delay(), MC_PI_Controller(), MC_SixStep_Current_Reference_Setvalue(), SIXSTEP_PI_PARAM_InitTypeDef_t::Reference, RUN, SET_DAC_value(), SIXSTEP_Base_InitTypeDef::speed_fdbk_filtered, SIXSTEP_Base_InitTypeDef::SPEED_VALIDATED, SIXSTEP_Base_InitTypeDef::STATUS, target_speed, TRUE, VALIDATION, and SIXSTEP_Base_InitTypeDef::VALIDATION_OK.
Referenced by MC_SysTick_SixStep_MediumFrequencyTask().
Generated by 1.8.11