UM2124
Designing an application at user level using the
firmware library
The MC_EXT_button_SixStep() is the command called by the
HAL_GPIO_EXTI_Callback(), see the file stm32Fxxx_nucleo_ihm0xm1.c associated to an
external push button. It sends a start or a stop motor function on the basis of the control
previous status: for instance, if the six-step algorithm is in run state, it stops the control; if it
is in idle state, it sends a start motor function.
DocID029868 Rev 1
37/39
Need help?
Do you have a question about the STM32 and is the answer not in the manual?