X-CUBE-SPN11 for X-NUCLEO-IHM11M1: Exported_function_F401

X-CUBE-SPN11 for X-NUCLEO-IHM11M1

X-CUBE-SPN11 for X-NUCLEO-IHM11M1

Functions

void MC_SixStep_ADC_Channel (uint32_t)
 API function for STM32 instruction. More...
 
void MC_SixStep_Nucleo_Init (void)
 Init the STM32 register. More...
 
void START_Ref_Generation (void)
 
void STOP_Ref_Generation (void)
 
void Set_Ref_Generation (uint16_t)
 
void START_DAC (void)
 Start DAC for debug. More...
 
void STOP_DAC (void)
 Stop DAC for debug. More...
 
void SET_DAC_value (uint16_t)
 Set DAC value for debug. More...
 
void Bemf_delay_calc (void)
 Bemf delay calculation. More...
 
uint32_t Get_UART_Data (void)
 Get the UART value from DR register. More...
 
void MC_SixStep_EnableInput_CH1_E_CH2_E_CH3_D (void)
 Enable Input channel CH1 and CH2 for STSPIN230. More...
 
void MC_SixStep_EnableInput_CH1_E_CH2_D_CH3_E (void)
 Enable Input channel CH1 and CH3 for STSPIN230. More...
 
void MC_SixStep_EnableInput_CH1_D_CH2_E_CH3_E (void)
 Enable Input channel CH2 and CH3 for STSPIN230. More...
 
void MC_SixStep_DisableInput_CH1_D_CH2_D_CH3_D (void)
 Enable Input channel CH2 and CH3 for STSPIN230. More...
 
void MC_SixStep_Start_PWM_driving (void)
 Enable PWM channels for STSPIN230. More...
 
void MC_SixStep_Stop_PWM_driving (void)
 Disable PWM channels for STSPIN230. More...
 
void MC_SixStep_HF_TIMx_SetDutyCycle_CH1 (uint16_t)
 Set the Duty Cycle value for CH1. More...
 
void MC_SixStep_HF_TIMx_SetDutyCycle_CH2 (uint16_t)
 Set the Duty Cycle value for CH2. More...
 
void MC_SixStep_HF_TIMx_SetDutyCycle_CH3 (uint16_t)
 Set the Duty Cycle value for CH3. More...
 
void MC_SixStep_Current_Reference_Start (void)
 Enable the Current Reference generation. More...
 
void MC_SixStep_Current_Reference_Stop (void)
 Disable the Current Reference generation. More...
 
void MC_SixStep_Current_Reference_Setvalue (uint16_t)
 Set the value for Current Reference. More...
 
void BSP_X_NUCLEO_FAULT_LED_ON (void)
 
void BSP_X_NUCLEO_FAULT_LED_OFF (void)
 

Detailed Description

Function Documentation

void BSP_X_NUCLEO_FAULT_LED_OFF ( void  )

Definition at line 364 of file X-NUCLEO-IHM11M1.c.

Referenced by MC_StopMotor().

void BSP_X_NUCLEO_FAULT_LED_ON ( void  )

Definition at line 351 of file X-NUCLEO-IHM11M1.c.

Referenced by MC_StartMotor().

uint32_t Get_UART_Data ( void  )

Get the UART value from DR register.

Return values
uint32_t

Definition at line 629 of file stm32F401_nucleo_ihm11m1.c.

References UART.

void MC_SixStep_ADC_Channel ( uint32_t  adc_ch)

API function for STM32 instruction.

API function for STM32 instruction.

Parameters
adc_ch
Return values
None

Definition at line 74 of file stm32F401_nucleo_ihm11m1.c.

References ADCx.

Referenced by MC_ADCx_SixStep_Bemf(), and MC_SixStep_NEXT_step().

void MC_SixStep_Current_Reference_Setvalue ( uint16_t  Iref)

Set the value for Current Reference.

Return values
None

Definition at line 480 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::Current_Reference_Setvalue.

void MC_SixStep_Current_Reference_Start ( void  )

Enable the Current Reference generation.

Return values
None

Definition at line 441 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::Current_Reference_Start.

void MC_SixStep_Current_Reference_Stop ( void  )

Disable the Current Reference generation.

Return values
None

Definition at line 460 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::Current_Reference_Stop.

void MC_SixStep_DisableInput_CH1_D_CH2_D_CH3_D ( void  )

Enable Input channel CH2 and CH3 for STSPIN230.

Return values
None

Definition at line 327 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::DisableInput_CH1_D_CH2_D_CH3_D.

void MC_SixStep_EnableInput_CH1_D_CH2_E_CH3_E ( void  )

Enable Input channel CH2 and CH3 for STSPIN230.

Return values
None

Definition at line 309 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::EnableInput_CH1_D_CH2_E_CH3_E.

void MC_SixStep_EnableInput_CH1_E_CH2_D_CH3_E ( void  )

Enable Input channel CH1 and CH3 for STSPIN230.

Return values
None

Definition at line 291 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::EnableInput_CH1_E_CH2_D_CH3_E.

void MC_SixStep_EnableInput_CH1_E_CH2_E_CH3_D ( void  )

Enable Input channel CH1 and CH2 for STSPIN230.

Return values
None

Definition at line 273 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::EnableInput_CH1_E_CH2_E_CH3_D.

void MC_SixStep_HF_TIMx_SetDutyCycle_CH1 ( uint16_t  CCR_value)

Set the Duty Cycle value for CH1.

Return values
None

Definition at line 381 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::HF_TIMx_SetDutyCycle_CH1.

void MC_SixStep_HF_TIMx_SetDutyCycle_CH2 ( uint16_t  CCR_value)

Set the Duty Cycle value for CH2.

Return values
None

Definition at line 400 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::HF_TIMx_SetDutyCycle_CH2.

void MC_SixStep_HF_TIMx_SetDutyCycle_CH3 ( uint16_t  CCR_value)

Set the Duty Cycle value for CH3.

Return values
None

Definition at line 423 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::HF_TIMx_SetDutyCycle_CH3.

void MC_SixStep_Nucleo_Init ( void  )
void MC_SixStep_Start_PWM_driving ( void  )

Enable PWM channels for STSPIN230.

Return values
None

Definition at line 345 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::Start_PWM_driving.

void MC_SixStep_Stop_PWM_driving ( void  )

Disable PWM channels for STSPIN230.

Return values
None

Definition at line 363 of file stm32F401_nucleo_ihm11m1.c.

References STSPIN230_MotorDriver_TypeDef::Stop_PWM_driving.

void SET_DAC_value ( uint16_t  dac_value)

Set DAC value for debug.

Parameters
dac_valueinformation to plot through DAC
Return values
None

Definition at line 185 of file stm32F401_nucleo_ihm11m1.c.

Referenced by MC_Task_Speed().

void Set_Ref_Generation ( uint16_t  )
void START_DAC ( void  )

Start DAC for debug.

Return values
None

Definition at line 154 of file stm32F401_nucleo_ihm11m1.c.

Referenced by MC_StartMotor().

void START_Ref_Generation ( void  )
void STOP_DAC ( void  )

Stop DAC for debug.

Return values
None

Definition at line 169 of file stm32F401_nucleo_ihm11m1.c.

void STOP_Ref_Generation ( void  )
Generated by   doxygen 1.8.11