( STM32F411 ) TIM2 channel 1 can't toggle pin
F(clock) = 16000000 Hz Led is in TIM2 channel 1 , output compare mode , toggle on matchMy code is :void timer_set(){ // Enable TIM2 clock RCC->APB1ENR |= RCC_APB1ENR_TIM2EN; // delay for RCC __asm("dsb"); TIM2->CNT=0; TIM2->PSC = 15999...