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

📄 fpgatimer.h

📁 Curtiss-Wright Controls Embedded Computing公司的cw183板bsp源代码
💻 H
字号:
/* fpgaTimer.h - DY 4 VME-182 board series vxWorks file. *//********************************************************************** * *   Copyright (c) 2003-2004, Dy 4 Systems All rights reserved. *   This Source Code is the Property of Dy 4 Systems Inc. and can *   only be used in accordance with Source Code License *   Agreement of Dy 4 Systems Inc. dba (doing business as)  *   CURTISS-WRIGHT CONTROLS EMBEDDED COMPUTING, "CWCEC".  * **********************************************************************//* Copyright 1984 - 1997 Wind River Systems, Inc. *//*modification history--------------------01b,10nov04, tis        add support for CCA-14501a,29may03, rgs        Standard file header added.*//*DESCRIPTION:FPGA timer library header file.INCLUDE FILES: dy4182.h or cca145.hSEE ALSO:*/#ifndef __INCfpgaTimerh#define __INCfpgaTimerh#ifdef VME_182#include "dy4182.h"#endif#ifdef CCA_145#include "cca145.h"#endif#ifdef VME_183#include "cwv183.h"#endiftypedef enum ioFpgaTimer{    IOFPGA_TIMER_START = -1,    IOFPGA_TIMER0_0,    IOFPGA_TIMER0_1,    IOFPGA_TIMER0_2,    IOFPGA_TIMER1_0,    IOFPGA_TIMER1_1,    IOFPGA_TIMER1_2,    IOFPGA_TIMER_END} IOFPGA_TIMER;void fpgaTimerHwInit(void);BSP_STATUS fpgaTimerIntClear(IOFPGA_TIMER timer);BSP_STATUS fpgaTimerStart(IOFPGA_TIMER timer);BSP_STATUS fpgaTimerStop(IOFPGA_TIMER timer);BSP_STATUS fpgaTimerLoad(IOFPGA_TIMER timer, unsigned int count);BSP_STATUS fpgaTimerRead(IOFPGA_TIMER timer, unsigned int *count);#endif

⌨️ 快捷键说明

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