timer.h

来自「arm7平台上的定时器操作」· C头文件 代码 · 共 40 行

H
40
字号
/****************************************Copyright (c)**************************************************/
/**                                
;**                                 西南科技大学计算机科学学院
;**                                   
;**                                http://www.cs.suswt.edu.cn
;**            
;**             日期:   
;**             描述:   
;**             作者:
;**
;**--------------*.*文件
;**------------------------------------------------------------------------------------------------------*/

/**------------------------------------------------------------------------------------------------------
********************************************************************************************************/

#ifndef _TIMER_H_                    /* avoid being incude more than once */
#define _TIMER_H_

/************************************************
 *				Header file                     *
 ***********************************************/
 #include"config.h" 
/************************************************
 *				Macros                          *
 ***********************************************/
 
 /************************************************
 *           Function declaration               *
 ***********************************************/
 extern void TIMER0Init(void);                      //定时器0初始化设置
 extern void TIMER0Start(void);                     //启动定时器0
 #endif                                  

/******************************************************************************
 *                           End of Entire File                               *
 *****************************************************************************/


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?