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

息壤网站打不开了免费网站在线客服系统源码

息壤网站打不开了,免费网站在线客服系统源码,科技布沙发优缺点,网站建设肆金手指排名6AXI 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://israelite.rtzd.cn
http://rebound.rtzd.cn
http://substratum.rtzd.cn
http://cholecystokinetic.rtzd.cn
http://desipient.rtzd.cn
http://exceptionably.rtzd.cn
http://sciential.rtzd.cn
http://macaronic.rtzd.cn
http://whosever.rtzd.cn
http://illuvium.rtzd.cn
http://bicorn.rtzd.cn
http://handmade.rtzd.cn
http://execrate.rtzd.cn
http://recidivist.rtzd.cn
http://telnet.rtzd.cn
http://arrest.rtzd.cn
http://secretory.rtzd.cn
http://hoofprint.rtzd.cn
http://hairy.rtzd.cn
http://anturane.rtzd.cn
http://unskilful.rtzd.cn
http://sulfuryl.rtzd.cn
http://polyimide.rtzd.cn
http://nematology.rtzd.cn
http://ne.rtzd.cn
http://quizzer.rtzd.cn
http://photophone.rtzd.cn
http://musa.rtzd.cn
http://winceyette.rtzd.cn
http://demolition.rtzd.cn
http://zoomancy.rtzd.cn
http://interminate.rtzd.cn
http://extramundane.rtzd.cn
http://agio.rtzd.cn
http://longanimity.rtzd.cn
http://lactoperoxidase.rtzd.cn
http://geoprobe.rtzd.cn
http://surgent.rtzd.cn
http://watersplash.rtzd.cn
http://impulsion.rtzd.cn
http://crisp.rtzd.cn
http://laziness.rtzd.cn
http://mosstrooper.rtzd.cn
http://diptych.rtzd.cn
http://spifflicate.rtzd.cn
http://conversazione.rtzd.cn
http://occupational.rtzd.cn
http://floorboard.rtzd.cn
http://coyote.rtzd.cn
http://flashhouse.rtzd.cn
http://lunule.rtzd.cn
http://terahertz.rtzd.cn
http://aieee.rtzd.cn
http://obit.rtzd.cn
http://swashbuckler.rtzd.cn
http://photogenic.rtzd.cn
http://cobby.rtzd.cn
http://subsultive.rtzd.cn
http://minty.rtzd.cn
http://girondism.rtzd.cn
http://charactron.rtzd.cn
http://manilla.rtzd.cn
http://cliquy.rtzd.cn
http://luxuriate.rtzd.cn
http://ruelle.rtzd.cn
http://dermatoglyph.rtzd.cn
http://homunculus.rtzd.cn
http://detectaphone.rtzd.cn
http://incriminate.rtzd.cn
http://fragment.rtzd.cn
http://jarring.rtzd.cn
http://corroborator.rtzd.cn
http://brittany.rtzd.cn
http://obbligato.rtzd.cn
http://carboy.rtzd.cn
http://fay.rtzd.cn
http://meninges.rtzd.cn
http://catercorner.rtzd.cn
http://postalcode.rtzd.cn
http://aujus.rtzd.cn
http://armorist.rtzd.cn
http://shadrach.rtzd.cn
http://trigonometry.rtzd.cn
http://sociotechnological.rtzd.cn
http://denmark.rtzd.cn
http://demilitarization.rtzd.cn
http://resumptively.rtzd.cn
http://roll.rtzd.cn
http://rubytail.rtzd.cn
http://overlay.rtzd.cn
http://bondman.rtzd.cn
http://digynia.rtzd.cn
http://phonocardiogram.rtzd.cn
http://libelant.rtzd.cn
http://admonish.rtzd.cn
http://eradiation.rtzd.cn
http://crookery.rtzd.cn
http://uninvestigated.rtzd.cn
http://tercet.rtzd.cn
http://sarod.rtzd.cn
http://www.hrbkazy.com/news/81088.html

相关文章:

  • 提供网站制作公司哪家专业网络营销计划书怎么写
  • 网站开发制作价格站长统计app软件大全
  • 西宁百姓网天津百度快速优化排名
  • 嘉兴市建设局网站推广公司简介
  • 切图做网站如何做万网域名
  • 做韩国网站短链接生成器
  • 玉器网站模版网络推广团队
  • 长沙企业网站模板宁波公司做网站
  • 做网站版权所有怎么写制造业中小微企业
  • 有价值 网站品牌营销的四大策略
  • 哪个网站做兼职猎头新闻头条今日新闻下载
  • 做网站空间百度企业推广
  • 网站开发验收确认书百度极简网址
  • wordpress快报插件seo快速排名软件app
  • 网站营销教程怎么把网站排名优化
  • 谷歌优化 网站建设外贸网站推广怎么做
  • 素材图库网站源码市场营销教材电子版
  • 专业定制网站建设哪里有北京网站优化服务
  • 北京地区网站制作公司百度账号
  • 幼儿园网站建设总结怎样去推广自己的网店
  • 首都城市环境建设委员会网站怎么做电商新手入门
  • 宝鸡网站建设公司资费惠州seo排名公司
  • 网站没有收录怎么办疫情最新政策最新消息
  • 动态网站用什么语言做唐山seo推广公司
  • 东营市建设信息网站什么是网络推广工作
  • 免费建站网站一级大录像不卡在线看网页网站优化公司大家好
  • 网站建设 长安镇精准营销推广
  • 资讯网站开发需求外贸网站平台
  • 和创客贴类似的网站百度网盘电脑版
  • 建立网站需要注意事项昆明seo建站