How to make microsecond delay using timer?
Im using F030F4P6 controller. Here's TIM16 configuration:Here's clock configuration:main.c: /* USER CODE BEGIN WHILE */ while (1) { toggleAll(); delayUs(1000); /* USER CODE END WHILE */...delayUs function:void delayUs(uint32_t delay) { us...