• 大小: 18.43MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-06-19
  • 语言: 其他
  • 标签: ZYNQ7010  EMIO  

资源简介

ZYNQ7010的EMIO程序,版本VIVADO2017.1,包括PS部分的程序

资源截图

代码片段和文件信息

#include “xgpiops.h“
#include “sleep.h“
int main()
{
static XGpioPs psGpioInstancePtr;
XGpioPs_Config* GpioConfigPtr;
int iPinNumber= 7; //LD9连接的是MIO7
u32 uPinDirection = 0x1; //1表示输出,0表示输入
int xStatus;

//--MIO的初始化
    GpioConfigPtr = XGpioPs_LookupConfig(XPAR_PS7_GPIO_0_DEVICE_ID);
if(GpioConfigPtr == NULL)
return XST_FAILURE;

xStatus = XGpioPs_CfgInitialize(&psGpioInstancePtrGpioConfigPtr GpioConfigPtr->baseAddr);
if(XST_SUCCESS != xStatus)
print(“ PS GPIO INIT FAILED \n\r“);
//--MIO的输入输出操作
     XGpioPs_SetDirectionPin(&psGpioInstancePtr iPinNumberuPinDirection);//配置MIO输出方向
 XGpioPs_SetOutputEnablePin(&psGpioInstancePtr iPinNumber1);//配置MIO的第7位输出
 while(1)
 {
XGpioPs_WritePin(&psGpioInstancePtr iPinNumber 1);//点亮MIO的第7位输出1
sleep(1); //延时
XGpioPs_WritePin(&psGpioInstancePtr iPinNumber 0);//熄灭MIO的第7位输出0
sleep(1); //延时
 }

    return 0;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        976  2016-06-23 23:19  CH03_EMIO\DOC\main.c

     文件    5342803  2017-02-13 13:59  CH03_EMIO\DOC\MiZ7010N_CORE_20161215.pdf

     文件    2167841  2017-02-11 19:16  CH03_EMIO\DOC\Miz701N_fun20161215.pdf

     文件        137  2016-11-03 08:37  CH03_EMIO\DOC\readme.txt

     文件   16969238  2016-04-09 00:49  CH03_EMIO\DOC\ug585-Zynq-7000-TRM.pdf

     文件        505  2016-12-13 16:00  CH03_EMIO\Miz_sys\.Xil\system_wrapper_propImpl.xdc

     文件       6466  2016-11-01 20:07  CH03_EMIO\Miz_sys\.Xil\Vivado-12352-Administrator\coregen\aximm_temp\aximm_temp.xci

     文件      18251  2016-11-01 20:07  CH03_EMIO\Miz_sys\.Xil\Vivado-12352-Administrator\coregen\aximm_temp\aximm_temp.xml

     文件       4393  2016-11-01 20:07  CH03_EMIO\Miz_sys\.Xil\Vivado-12352-Administrator\coregen\clock_temp\clock_temp.xci

     文件       4396  2016-11-01 20:07  CH03_EMIO\Miz_sys\.Xil\Vivado-12352-Administrator\coregen\clock_temp\clock_temp.xml

     文件        121  2017-02-23 11:40  CH03_EMIO\Miz_sys\Miz_sys.cache\wt\project.wpc

     文件       3757  2017-01-20 11:18  CH03_EMIO\Miz_sys\Miz_sys.cache\wt\synthesis.wdf

     文件        100  2017-01-20 11:17  CH03_EMIO\Miz_sys\Miz_sys.cache\wt\synthesis_details.wdf

     文件       1309  2017-02-23 11:43  CH03_EMIO\Miz_sys\Miz_sys.cache\wt\webtalk_pa.xml

     文件        290  2016-10-31 23:47  CH03_EMIO\Miz_sys\Miz_sys.hw\Miz_sys.lpr

     文件       4677  2017-01-20 11:15  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\bd\system\hdl\system.v

     文件      16180  2017-01-20 11:15  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\bd\system\ip\system_processing_system7_0_0\sim\system_processing_system7_0_0.v

     文件      38897  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_5_apis.v

     文件       3868  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_5_axi_acp.v

     文件      12698  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_5_axi_gp.v

     文件      14817  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_5_axi_hp.v

     文件       9121  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_5_local_params.v

     文件     178763  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_5_reg_init.v

     文件     397487  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_5_reg_params.v

     文件      12816  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_5_unused_ports.v

     文件      36344  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_afi_slave.v

     文件       3389  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_arb_hp0_1.v

     文件       3389  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_arb_hp2_3.v

     文件       3789  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_arb_rd.v

     文件       6412  2016-10-31 23:56  CH03_EMIO\Miz_sys\Miz_sys.ip_user_files\ipstatic\processing_system7_bfm_v2_0\hdl\processing_system7_bfm_v2_0_arb_rd_4.v

............此处省略879个文件信息

评论

共有 条评论

相关资源