资源简介
PCI 控制 硬件 测试指令
通过测试指令向PCI发送地址和数据,到达外部测试版
代码片段和文件信息
/*******************************************************************************
* Copyright (c) 2006 PLX Technology Inc.
*
* PLX Technology Inc. licenses this software under specific terms and
* conditions. Use of any of the software or derviatives thereof in any
* product without a PLX Technology chip is strictly prohibited.
*
* PLX Technology Inc. provides this software AS IS WITHOUT ANY WARRANTY
* EXPRESS OR IMPLIED INCLUDING WITHOUT LIMITATION ANY WARRANTY OF
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. PLX makes no guarantee
* or representations regarding the use of or the results of the use of
* the software and documentation in terms of correctness accuracy
* reliability currentness or otherwise; and you rely on the software
* documentation and results solely at your own risk.
*
* IN NO EVENT SHALL PLX BE LIABLE FOR ANY LOSS OF USE LOSS OF BUSINESS
* LOSS OF PROFITS INDIRECT INCIDENTAL SPECIAL OR CONSEQUENTIAL DAMAGES
* OF ANY KIND. IN NO EVENT SHALL PLX‘S TOTAL LIABILITY EXCEED THE SUM
* PAID TO PLX FOR THE PRODUCT LICENSED HEREUNDER.
*
******************************************************************************/
/******************************************************************************
*
* File Name:
*
* ConsFunc.c
*
* Description:
*
* Provides a common layer to work with the console
*
* Revision History:
*
* 03-01-06 : PCI SDK v4.40
*
******************************************************************************/
#include “ConsFunc.h“
#include “PlxTypes.h“
/*************************************
* Globals
************************************/
static unsigned char _Gbl_bThrottleOutput = FALSE;
static unsigned short _Gbl_LineCount = 0;
static unsigned short _Gbl_LineCountMax = DEFAULT_SCREEN_SIZE - SCREEN_THROTTLE_OFFSET;
/******************************************************************
*
* Function : ConsoleInitialize
*
* Description: Initialize the console
*
*****************************************************************/
void
ConsoleInitialize(
void
)
{
#if defined(PLX_LINUX)
WINDOW *pActiveWin;
// Initialize console
pActiveWin = initscr();
// Allow insert/delete of lines (for scrolling)
idlok(
pActiveWin
TRUE
);
// Allow console to scroll
scrollok(
pActiveWin
TRUE
);
// Disable buffering to provide input immediately to app
cbreak();
// getch will echo characters
echo();
// Enable blocking mode (for getch & scanw)
nodelay(
stdscr
FALSE
);
// Set the max line count based on current screen size
_Gbl_LineCountMax = getmaxy(stdscr) - SCREEN_THROTTLE_OFFSET;
#elif defined(_WIN32) || defined(_WIN64)
CONSOLE_SCREEN_BUFFER_INFO csbi;
// Get the
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2882 2006-04-03 17:22 Pci5.87\Ascii.h
文件 6559 2006-04-03 17:22 Pci5.87\Bem.h
文件 19171 2006-04-03 17:22 Pci5.87\ConsFunc.c
文件 6470 2006-04-03 17:22 Pci5.87\ConsFunc.h
文件 35716 2006-04-03 17:22 Pci5.87\Cpu860.h
文件 8959 2006-04-03 17:22 Pci5.87\LocalApi.h
文件 6326 2008-11-15 16:54 Pci5.87\Pci.dsp
文件 512 2008-08-21 11:26 Pci5.87\Pci.dsw
文件 8231 2000-07-07 18:04 Pci5.87\pci.h
文件 2466816 2011-03-07 11:36 Pci5.87\Pci.ncb
文件 0 2008-08-23 16:50 Pci5.87\Pci.ncb (无法打开)
文件 951 2011-02-16 17:40 Pci5.87\Pci.plg
文件 11356 2006-04-03 17:22 Pci5.87\PciApi.h
文件 7482 2006-04-03 17:22 Pci5.87\PciDrvApi.h
文件 3586 2006-04-03 17:22 Pci5.87\PciRegs.h
文件 9855 2006-04-03 17:22 Pci5.87\PciTypes.h
文件 9080 2006-04-03 17:22 Pci5.87\Plx.h
文件 2115 2006-04-03 17:22 Pci5.87\PlxApi.h
文件 2337 2006-04-03 17:22 Pci5.87\PlxDefinitionsCheck.h
文件 3788 2006-04-03 17:22 Pci5.87\PlxError.h
文件 13068 2006-04-03 17:22 Pci5.87\PlxInit.c
文件 6581 2006-12-25 10:35 Pci5.87\PlxInit.cpp
文件 2449 2008-10-16 16:09 Pci5.87\PlxInit.h
文件 12489 2006-04-03 17:22 Pci5.87\PlxIoctl.h
文件 13133 2006-04-03 17:22 Pci5.87\PlxProtocol.h
文件 2633 2006-04-03 17:22 Pci5.87\PlxQueue.h
文件 11806 2006-04-03 17:22 Pci5.87\PlxTypes.h
文件 1595 2008-08-21 11:26 Pci5.87\ReadMe.txt
文件 7701 2006-04-03 17:22 Pci5.87\Reg8311.h
文件 4054 2006-04-03 17:22 Pci5.87\Reg9030.h
............此处省略41个文件信息
相关资源
- F28335无刷直流电机开闭环控制
- 清翔电子MCS51开发板资料_新版 01_开发
- 黑苹果硬件兼容检测和查询软件
- 开源电调BLHeli硬件PCB 4层板 2.5cm宽
- 根据硬件ID和程序ID生成注册码
- LED灯串电路图说明
- 局域网硬件信息收集工具
- PCIe速度测试例程
- 基于xilinx FPGA的PCIe设计实战
- 基于PCIe的FPGA动态配置设计与实现
- 模糊PID控制 c
- STM32f103超声波模块例程
- LCD显示温度+串口接收温度.rar
- 基于MSP430G2553的蓝牙控制小车
- 飞思卡尔单片机MC9S12XS12G128驱动(硬件
- Verilog FPGA UART串口控制器
- SG3525频率PWM控制均可调模块
- 51单片机控制舵机程序
- Qt Creator opengl实现四元数鼠标控制轨迹
- 机器人单机械臂滑模控制程序
- ply格式文件的读写程序
- [免费]msp430f149控制PS2键盘并用1602显示
- STM32F103RBT6驱动UC1698控制芯片的160160黑
- vhdl与lcd1602实现的多控制电子钟
- 欧姆龙控制2个伺服
- 硬件课程设计—流水灯(quartus软件
- 远程桌面(带C 源码)
- 8259A中断控制实验
- nVidia 控制面板 API
- 硬件测试面试常见题PDF
评论
共有 条评论