pciaccesstest.c
来自「vxWorks下pc1394的驱动程序」· C语言 代码 · 共 37 行
C
37 行
/* file number */
/*
modification history
-, 2004, November, 10th Release
*/
/****************************************************************
Module: pciAccessTest.c
Author: chenxuhao
Description: test function for PCI access
Copyright 2004 Guangzhou Communication Institute
****************************************************************/
/* Included Files */
#include <vxWorks.h>
#include <stdio.h>
#include <logLib.h>
#include <taskLib.h>
#include "../../../include/drv/pc1394Card/pc1394Drv.h"
#include "../../../include/drv/pc1394Card/OHCIreg.h"
/* define some macro */
/* Global Variables */
/* Forward Declaration */
STATUS pciReadTest(void)
{
int iPciAdrs;
unsigned long iAccessValue;
iPciAdrs = (0xef001000 + BUS_ID_ADR);
iAccessValue = pciReadLong(iPciAdrs);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?