X-CUBE-SPN11 for X-NUCLEO-IHM11M1
|
Compute the zero crossing detection. More...
Functions | |
void | MC_ADCx_SixStep_Bemf (void) |
Detailed Description
Compute the zero crossing detection.
- Return values
-
None
Function Documentation
void MC_ADCx_SixStep_Bemf | ( | void | ) |
Definition at line 1381 of file 6Step_Lib.c.
References SIXSTEP_Base_InitTypeDef::ADC_BEMF_threshold_DOWN, SIXSTEP_Base_InitTypeDef::ADC_BEMF_threshold_UP, SIXSTEP_Base_InitTypeDef::ADC_BUFFER, SIXSTEP_Base_InitTypeDef::ADC_Regular_Buffer, SIXSTEP_Base_InitTypeDef::ADC_SEQ_CHANNEL, ADCx, ALIGNMENT, SIXSTEP_Base_InitTypeDef::BEMF_Tdown_count, SIXSTEP_Base_InitTypeDef::CurrentRegular_BEMF_ch, SIXSTEP_Base_InitTypeDef::demagn_counter, SIXSTEP_Base_InitTypeDef::demagn_value, GPIO_CH_COMM, GPIO_PORT_COMM, HF_TIMx, HFBuffer, HFBufferIndex, HFBUFFERSIZE, index_adc_chn, MC_SixStep_ADC_Channel(), MC_SixStep_ARR_Bemf(), SIXSTEP_PI_PARAM_InitTypeDef_t::Reference, START, SIXSTEP_Base_InitTypeDef::STATUS, and SIXSTEP_Base_InitTypeDef::step_position.
Referenced by HAL_ADC_ConvCpltCallback().
Generated by 1.8.11