⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kzcpmtimer.h

📁 motorola mpc系列 mpc852cpu bsp
💻 H
字号:

/******************************************************/
/*      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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -