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