X-CUBE-SPN11 for X-NUCLEO-IHM11M1
|
MC_SixStep_ARR_Bemf
Calculate the new Autoreload value (ARR) for Low Frequency timer. More...
Functions | |
void | MC_SixStep_ARR_Bemf (uint8_t) |
Detailed Description
Calculate the new Autoreload value (ARR) for Low Frequency timer.
- Return values
-
None
Function Documentation
void MC_SixStep_ARR_Bemf | ( | uint8_t | up_bemf | ) |
Definition at line 1328 of file 6Step_Lib.c.
References ARR_LF, BEMF_CNT_EVENT_MAX, SIXSTEP_Base_InitTypeDef::BEMF_OK, cnt_bemf_event, counter_ARR_Bemf, GPIO_CH_ZCR, GPIO_PORT_ZCR, GPIO_ZERO_CROSS, LF_TIMx, n_zcr_startup, NUMBER_ZCR, SIXSTEP_Base_InitTypeDef::SPEED_VALIDATED, startup_bemf_failure, SIXSTEP_Base_InitTypeDef::status_prev, SIXSTEP_Base_InitTypeDef::step_position, TRUE, and SIXSTEP_Base_InitTypeDef::VALIDATION_OK.
Referenced by MC_ADCx_SixStep_Bemf().
Generated by 1.8.11