timers.h

来自「BlackFin处理器视频演示代码」· C头文件 代码 · 共 25 行

H
25
字号
/**
 *@file timers.h
 *@author Zlatan Stanojevic
 */

#ifndef TIMERS_H
#define TIMERS_H


void timerEnable( int timer );
void timerDisable( int timer );
int timerIsEnabled( int timer );
int timerIsRunning( int timer );
int timerClearInterrupt( int timer );
int timerClearOVFError( int timer );
volatile unsigned short *timerConfig( int timer );
volatile unsigned long *timerWidth( int timer );
volatile unsigned long *timerPeriod( int timer );
volatile unsigned long *timerCounter( int timer );
ADI_INT_PERIPHERAL_ID getTimerPeripheralID( int timer );



#endif //TIMERS_H

⌨️ 快捷键说明

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