Lines Matching refs:timer
46 …be set to either 1 or 0 in FreeRTOSConfig.h to use either the Watchdog or timer 2 to generate the …
354 TIM_InitTypeDef timer; in prvSetupTimerInterrupt() local
358 TIM_StructInit( &timer ); in prvSetupTimerInterrupt()
361 timer.TIM_Mode = TIM_OCM_CHANNEL_1; in prvSetupTimerInterrupt()
362 timer.TIM_OC1_Modes = TIM_TIMING; in prvSetupTimerInterrupt()
363 timer.TIM_Clock_Source = TIM_CLK_APB; in prvSetupTimerInterrupt()
364 timer.TIM_Clock_Edge = TIM_CLK_EDGE_RISING; in prvSetupTimerInterrupt()
365 timer.TIM_Prescaler = a - 1; in prvSetupTimerInterrupt()
366 timer.TIM_Pulse_Level_1 = TIM_HIGH; in prvSetupTimerInterrupt()
367 timer.TIM_Pulse_Length_1 = s_nPulseLength = b - 1; in prvSetupTimerInterrupt()
369 TIM_Init( TIM2, &timer ); in prvSetupTimerInterrupt()