Posted on May 17, 2011 at 15:08You need just to reverse the instruction: 1. Set Pin sensitivity EXTI_SetPinSensitivity(CIP_GPIO_PIN, EXTI_Trigger_Rising); 2. Configure PD7 as interrupt GPIO_Init(CIP_GPIO_PORT, CIP_GPIO_PIN, GPIO_Mode_In_PU_IT); ...
Posted on May 17, 2011 at 15:07Timer 1 has a linear prescaler (any value from 1 to 65536), whilst the other timers have power of 2 prescaler (2^n with n=[0..15] for 16 bit timers), thus formulas are different...