当前位置: 首页 > news >正文

息壤网站打不开了seo资料

息壤网站打不开了,seo资料,win2008sr怎么用iis做网站,wordpress插件2018AXI GPIO 可以将 PS 端的一个 AXI 4-Lite 接口转化为 GPIO 接口,并且可以被配置为单端口或双端口,每个通道的位宽可以独立配置。 通过使能三态门可以将端口动态地配置为输入或输出。 AXIGPIO 是 ZYNQ PL 端的一个 IP 核,可以将 AXI-Lite Mas…

AXI GPIO 可以将 PS 端的一个 AXI 4-Lite 接口转化为 GPIO 接口,并且可以被配置为单端口或双端口,每个通道的位宽可以独立配置。
通过使能三态门可以将端口动态地配置为输入或输出。
axigpio|500
AXIGPIO 是 ZYNQ PL 端的一个 IP 核,可以将 AXI-Lite Master 转为 GPIO,并且一个 AXI-Lite 接口可以通过 AXI interconnect 模块控制多个 AXI-GPIO。

AXI-GPIO IP 设置

最大时钟频率

|500
Z y n q 7020 Zynq 7020 Zynq7020 的最大频率和 A r t i x 7 − 2 Artix 7-2 Artix72 的速率相同,为 140 M H z 140 MHz 140MHz

AXI GPIO 设置

AXIGPIOip|500
默认为单通道。GPIO 的方向在这里设置了以后就不能在 vitis 中设置 GPIO 的方向。
中断属于 PL 对 PS 的中断,需要在 ZYNQ 7 Processing System 中勾选
|500

生成的 vitis 的代码中,xparameters.h 中的 id 默认从 ID 0 开始,不管 vivado 这边的 AXI-GPIO 的序号是从 0 开始还是从 1 开始。

[!note]

  1. GPIO 只能使能整个通道中断,无法单独使能通道中的某个引脚中断
  2. |400
    中断类型只能设置为上升沿或高电平

AXI-GPIO 相关代码

初始化

/****************************************************************************//*** Initialize the XGpio instance provided by the caller based on the* given configuration data.** Nothing is done except to initialize the InstancePtr.** @param    InstancePtr is a pointer to an XGpio instance. The memory the*       pointer references must be pre-allocated by the caller. Further*       calls to manipulate the driver through the XGpio API must be*       made with this pointer.* @param    Config is a reference to a structure containing information*       about a specific GPIO device. This function initializes an*       InstancePtr object for a specific device specified by the*       contents of Config. This function can initialize multiple*       instance objects with the use of multiple calls giving different*       Config information on each call.* @param    EffectiveAddr is the device base address in the virtual memory*       address space. The caller is responsible for keeping the address*       mapping from EffectiveAddr to the device physical base address*       unchanged once this function is invoked. Unexpected errors may*       occur if the address mapping changes after this function is*       called. If address translation is not used, use*       Config->BaseAddress for this parameters, passing the physical*       address instead.** @return*       - XST_SUCCESS if the initialization is successful.** @note     None.******************************************************************************/int XGpio_CfgInitialize(XGpio * InstancePtr, XGpio_Config * Config,UINTPTR EffectiveAddr)

设置输入输出方向

/****************************************************************************//*** Set the input/output direction of all discrete signals for the specified* GPIO channel.
*
* @param    InstancePtr is a pointer to an XGpio instance to be worked on.* @param    Channel contains the channel of the GPIO (1 or 2) to operate on.* @param    DirectionMask is a bitmask specifying which discretes are input*       and which are output. Bits set to 0 are output and bits set to 1
*       are input.
*
* @return   None.** @note     The hardware must be built for dual channels if this function*       is used with any channel other than 1.  If it is not, this*       function will assert.******************************************************************************/void XGpio_SetDataDirection(XGpio *InstancePtr, unsigned Channel, u32 DirectionMask)

GPIO 读写

/****************************************************************************//*** Read state of discretes for the specified GPIO channel.* @param    InstancePtr is a pointer to an XGpio instance to be worked on.
* @param    Channel contains the channel of the GPIO (1 or 2) to operate on.* @return   Current copy of the discretes register.* @note     The hardware must be built for dual channels if this function*       is used with any channel other than 1.  If it is not, this*       function will assert.
*****************************************************************************/u32 XGpio_DiscreteRead(XGpio * InstancePtr, unsigned Channel)/****************************************************************************//*** Write to discretes register for the specified GPIO channel.** @param    InstancePtr is a pointer to an XGpio instance to be worked on.* @param    Channel contains the channel of the GPIO (1 or 2) to operate on.* @param    Mask is the value to be written to the discretes register.** @return   None.** @note     The hardware must be built for dual channels if this function*       is  used with any channel other than 1.  If it is not, this*       function will assert. See also XGpio_DiscreteSet() and*       XGpio_DiscreteClear().******************************************************************************/void XGpio_DiscreteWrite(XGpio * InstancePtr, unsigned Channel, u32 Mask)
http://www.ds6.com.cn/news/91162.html

相关文章:

  • 无货源网店哪个平台好东莞seo公司
  • 沈阳网站关键词优化做的好吗东莞市民最新疫情
  • 怎么做个人网页链接seo自媒体培训
  • 做app网站建设google关键词排名优化
  • 做电影网站需要多大空间外国搜索引擎登录入口
  • 株洲 网站建设查询网址域名
  • 备案成功的网站关键词优化上海
  • 电子商务网站开发的基本要求云浮网站设计
  • 小学生信息科学做网站优化工具箱下载
  • 湘潭做网站价格找磐石网络一流如何做网站seo
  • 汉语网站建设心得免费html网站模板
  • 做网站的色彩搭配的小知识百度搜索入口
  • 郑州二七区做网站服务营销
  • 品牌网站建设优化公司三亚网络推广
  • 设计网站的基本步骤运营商大数据精准营销
  • 江西省地图南宁seo咨询
  • 南沙做网站要多少钱百度官网推广平台
  • 科技文化网站建设方案实时疫情最新消息数据
  • 网站开发区武汉seo网站管理
  • 网上做平面设计的网站深圳网站页面设计
  • 网站里添加聊天框怎么做sem竞价账户托管
  • 仁怀企业网站建设搜索引擎主要包括三个部分
  • 美文的手机网站互联网推广是做什么的
  • 北京市规划网站今日最新国内新闻重大事件
  • 做海报设计的网站百度推广怎么样
  • 钟表玻璃东莞网站建设活动策划
  • 上海网站建设费用多少bt种子bt天堂
  • 宝安网站建设迅雷磁力链bt磁力天堂
  • 不同程序建的网站风格网络防御中心
  • 小人发射爱心代码htmlseo优化的主要内容