X-CUBE-SPN11 for X-NUCLEO-IHM11M1
|
MC_Set_Speed
Set the new motor speed value. More...
Functions | |
void | MC_Set_Speed (uint16_t speed_value) |
Detailed Description
Set the new motor speed value.
- Parameters
-
speed_value set new motor speed
- Return values
-
None
Function Documentation
void MC_Set_Speed | ( | uint16_t | speed_value | ) |
Definition at line 889 of file 6Step_Lib.c.
References ADC_SPEED_TH, SIXSTEP_Base_InitTypeDef::CW_CCW, MAX_POT_SPEED, MIN_POT_SPEED, SIXSTEP_PI_PARAM_InitTypeDef_t::Reference, SIXSTEP_Base_InitTypeDef::Speed_Ref_filtered, and SIXSTEP_Base_InitTypeDef::Speed_target_ramp.
Referenced by MC_SysTick_SixStep_MediumFrequencyTask().
Generated by 1.8.11