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

做视频网站版权怎么解决roseonly企业网站优化

做视频网站版权怎么解决,roseonly企业网站优化,西安机械加工网,建网站需要哪些费用AXI 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.hkea.cn/news/542523/

相关文章:

  • WordPress小程序二次修改石家庄seo排名外包
  • 做百度关键词网站厦门seo外包
  • 泉州seo-泉州网站建设公司谷歌关键词搜索工具
  • 组织部网站建设方案行业关键词分类
  • 上海黄浦 网站制作中国搜索引擎排名2021
  • 手机网站建设 cms营销技巧和营销方法
  • 平顶山做网站优化微博搜索引擎优化
  • 网站如何做品牌宣传海报每日舆情信息报送
  • 做论坛网站需要多大空间seo推广招聘
  • 中国建设银行网站软件不限次数观看视频的app
  • 网站开发建设的步骤win11优化大师
  • 在线做数据图的网站樱桃bt磁力天堂
  • 网站建设费的税率东莞公司网上推广
  • 上海设计公司排名前十宁波seo搜索优化费用
  • 如皋做网站公司com域名
  • 织梦做企业网站教程网络营销推广方案论文
  • 微信如何添加小程序二十条优化措施全文
  • 网站制作费可以做业务宣传费河北百度推广电话
  • wordpress日主题破解网站排名优化软件有哪些
  • 做公众号app 网站 app济南网站设计
  • 单位网站 单位网页 区别吗福州seo顾问
  • 专业做网站制作的公司百度地图网页版进入
  • 买卖网站域名骗局百度推广登陆
  • 石家庄大型网站设计公司手机怎么建网站
  • 政府网站图解怎么做百度关键词排名靠前
  • 天津做网站印标东莞网络推广排名
  • 设计一个外贸网站需要多少钱沈阳网站推广优化
  • 洗化行业做网站福州百度seo排名
  • 西安app网站开发项目腾讯域名注册官网
  • 网站开发的技术指标如何做网站搜索引擎优化