#ifndef __TIME_H #define __TIME_H #include "stm32f4xx.h" void TIM_Mod_Config(void(*ClockCmd)(uint32_t, FunctionalState), u32 RCC_APBnPeriphn,TIM_TypeDef *TIM, u16 psc, u16 per, u8 pre, u8 sub); void TIM_NVIC_Config(u8 NVIC_IRQChannel, u8 pre, u8 sub); #endif