SW4STM32 doesn't move to main loop
Hello!
I am very new to STM32 programming but finally got to manage my first LED toggling project according to the UM1718 user manual for CubeMX tutorial 1 .
What I do’t understand is the fact, that when I break the programflow, the programm doesn’t move to the main while loop but stays in the HAL_TIM_Base_Start_IT(&htim3); function. Why is that?
here is the code snippet:
int main(void)
{
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/* MCU Configuration----------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* Configure the system clock */
SystemClock_Config();
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_USART2_UART_Init();
MX_TIM3_Init();
/* USER CODE BEGIN 2 */
HAL_TIM_Base_Start_IT(&htim3);