嵌入式 【定时器】

1.定时器的分类

 

 

 

 

//timer.h

#ifndef __TIMER_H__
#define __TIMER_H__
#include "sys.h"

//timer.c


#include "timer.h"

void TIM3_Int_Init(u16 arr,u16 psc)
{
  RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3,ENABLE);



}

 

#endif

 

 

 

posted @ 2019-04-07 22:26  Crown-V  阅读(228)  评论(0)    收藏  举报