Question
CCMR1/CCMR2 register in STM32F407 for input Capture mode.
Hi,
I want to use input capture mode to detect event at every edge (STM32F407 Discovery board).
I have toggled the LED (Connected to PD12) using Timer4 Channel (TIM4_CH1) Output compare mode. It's working.
The output of LED is given to PD13 to count the events at PD13 pin (TIM4 CH2) (as Input capture).
What is the value to be loaded into TIM4->CCMR2 or TIM4->CCMR1 register for input capture? Which register I have to use and what is the value?
Thanks,
Kumar
