timer.h
来自「AT91所有开发板的资料 AT91所有开发板的资料」· C头文件 代码 · 共 96 行
H
96 行
/*******************************************************************************
*
* ARM Strategic Support Group
*
*******************************************************************************/
/*******************************************************************************
*
* Module : timer.h
* Description : Setup for Samsung KS32C50100 IRQ registers and serives the
* IRQ's (timer)
* Tool Chain : ARM Developer Suite v1.0
* Platform : Evaluator7T
* History :
*
* 980416 ASloss
* - added button interrupt service
* - added header information
*
* 2000-04-04 Andrew N. Sloss
* - ported to the Evaluator7T
*
* Notes : Refer to the Samsung KS32C50100 User Manual
*
*******************************************************************************/
/*******************************************************************************
* IMPORT
*******************************************************************************/
// none...
/*******************************************************************************
* MACRO'S
*******************************************************************************/
// none...
/*****************************************************************************
* EXTERN's
*****************************************************************************/
// none...
/*****************************************************************************
* STATICS
*****************************************************************************/
// none...
/*****************************************************************************
* ROUTINES
*****************************************************************************/
/* -- timer_init ----------------------------------------------------------
*
* Description : Initialises the counter timer and sets the timer divisor.
*
* Parameters : none...
* Return : none...
* Notes : none...
*
*/
void timer_init (void);
/* -- timer_irq ------------------------------------------------------------
*
* Description : handles the aux timer interrupt.
*
* Parameters : none...
* Return : none...
* Notes : Other interrupt sources are handled by angel. See
* irq_ven.s
*
*
*/
void timer_irq (void);
/* -- timer_start -----------------------------------------------------------
*
* Description : switches the timer on
*
* Parameters : none...
* Return : none...
* Notes : none...
*
*/
void timer_start (void);
/*******************************************************************************
* END OF timer.h
*******************************************************************************/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?