X-CUBE-SPN11 for X-NUCLEO-IHM11M1
|
MC_SixStep_Alignment
Generate the motor alignment. More...
Functions | |
void | MC_SixStep_Alignment (void) |
Detailed Description
Generate the motor alignment.
- Return values
-
None
Function Documentation
void MC_SixStep_Alignment | ( | void | ) |
Definition at line 657 of file 6Step_Lib.c.
References SIXSTEP_Base_InitTypeDef::ALIGN_OK, ALIGNMENT, SIXSTEP_Base_InitTypeDef::ARR_value, index_align, index_startup_motor, LF_TIMx, MC_SixStep_Ramp_Motor_calc(), MC_SixStep_Speed_Val_target_potentiometer(), SIXSTEP_Base_InitTypeDef::prescaler_value, STARTUP, SIXSTEP_Base_InitTypeDef::STATUS, SIXSTEP_Base_InitTypeDef::step_position, TIME_FOR_ALIGN, and TRUE.
Referenced by MC_SysTick_SixStep_MediumFrequencyTask().
Generated by 1.8.11