opb_vga.c
来自「该源码为xilinx ise教程的附带光盘源码」· C语言 代码 · 共 32 行
C
32 行
//////////////////////////////////////////////////////////////////////////////
//
// ***************************************************************************
// ** **
// ** Copyright (c) 1995-2005 Xilinx, Inc. All rights reserved. **
// ** **
// ** You may copy and modify these files for your own internal use solely **
// ** with Xilinx programmable logic devices and Xilinx EDK system or **
// ** create IP modules solely for Xilinx programmable logic devices and **
// ** Xilinx EDK system. No rights are granted to distribute any files **
// ** unless they are distributed in Xilinx programmable logic devices. **
// ** **
// ***************************************************************************
//
//////////////////////////////////////////////////////////////////////////////
// Filename: E:\MYPROGRAM\EDK\EDK_HC164\drivers\opb_hc164_v1_00_a\src\opb_hc164.c
// Version: 1.00.a
// Description: my_led Driver Source File
// Date: Fri Aug 04 14:55:06 2006 (by Create and Import Peripheral Wizard)
//////////////////////////////////////////////////////////////////////////////
/***************************** Include Files *******************************/
#include "opb_vga.h"
/************************** Function Definitions ***************************/
void RGB_Show ( Xuint32 baseaddr, Xuint32 data )
{
XIo_Out32(baseaddr,data);//{ (*(volatile Xuint16 *)(OutputPtr) = data); }
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?