kzcpmtimer.h

来自「motorola mpc系列 mpc852cpu bsp」· C头文件 代码 · 共 46 行

H
46
字号

/******************************************************/
/*      Filename: KzCpmTimer.h                   */
/*      author  : hyf                                 */
/*     copyright: kztech                              */
/*       date   : 2005.09.09                          */
/******************************************************/

#ifndef __KZCPMTIMER_H__
#define __KZCPMTIMER_H__

#ifdef __cplusplus
extern "C" {
#endif



#ifndef     _ASMLANGUAGE
#if defined(__STDC__) || defined(__cplusplus)

void routineByCpmTimer(void);

STATUS sysAuxClk4init(FUNCPTR routine,int arg ,int ticksPerSecond , UINT8 ps);
int cpmTimeGet(void);
STATUS sysAuxClk4Connect(FUNCPTR routine,int arg);
void sysAuxClk4Disable (void);
void sysAuxClk4Enable(UINT8 ps);
 void sysAuxClk4Int (void);
int sysAuxClk4RateGet (void);
STATUS sysAuxClk4RateSet(int ticksPerSecond, UINT8 ps);
void testTimerTask(void);

void Led_Flash(void);


#else     /* __STDC__ */



#endif     /* __STDC__ */

#endif     /* _ASMLANGUAGE */

#endif

⌨️ 快捷键说明

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