X-CUBE-SPN11 for X-NUCLEO-IHM11M1
|
MC_GetElSpeedHz
Get the Eletrical Motor Speed from ARR value of LF TIM. More...
Functions | |
int32_t | MC_GetElSpeedHz (void) |
Detailed Description
Get the Eletrical Motor Speed from ARR value of LF TIM.
- Return values
-
int32_t Return the electrical motor speed
Function Documentation
int32_t MC_GetElSpeedHz | ( | void | ) |
Definition at line 1025 of file 6Step_Lib.c.
References El_Speed_Hz, LF_TIMx, SIXSTEP_PI_PARAM_InitTypeDef_t::Reference, and SIXSTEP_Base_InitTypeDef::SYSCLK_frequency.
Referenced by MC_GetMechSpeedRPM().
Generated by 1.8.11