Resolved! Delay with timers(Non blocking delay)
Hi,I need microsec/millisec delay in my project but I don't want to effect the process flow.I am using STM32G4.I am using timer for microseconds delay below is the function.void delay_us (uint16_t us){__HAL_TIM_SET_COUNTER(&htim1,0); // set the cou...