How to properly configure DMA for TIM2 timer?
TIM2 Timer initialization:static void my_TIM2_initInputCaptureTimer(void) { // enable clock source for timer RCC->APB1LENR |= (0x1 << 0); // set prescaler to 1 TIM2->PSC = 200 - 1; // choose TIM2_CH1 input TIM2->TISEL |= (0x0 << 0); ...