setup TIM5 as function timer
fixed function declare