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

成都建设网站郑州seo公司排名

成都建设网站,郑州seo公司排名,b2b网站建设费用,桥东企业做网站RK3568-UART通信 1. 功能特点 RK3568有10个UART控制器,对应设备树里的uart0-uart9。 Rockchip UART (Universal Asynchronous Receiver/Transmitter) 基于16550A串口标准,支持以下 功能: 包含2组64字节的 FIFO,用于接收和传输支…

RK3568-UART通信

1. 功能特点

RK3568有10个UART控制器,对应设备树里的uart0-uart9。 Rockchip UART (Universal Asynchronous Receiver/Transmitter) 基于16550A串口标准,支持以下
功能:

  • 包含2组64字节的 FIFO,用于接收和传输
  • 支持流控
  • 支持速率 115.2Kbps, 460.8Kbps, 921.6Kbps, 1.5Mbps, 3Mbps, 4Mbps
  • 支持5、6、7、8 bits数据位。
  • 支持1、1.5、2 bits停止位。
  • 支持奇校验和偶校验。
  • 支持基于中断/DMA 模式

在Linux kernel 4.4和Linux kernel 4.19中,使用8250串口通用驱动,以下为主要驱动文件:

drivers/tty/serial/8250/8250_core.c # 8250串口驱动核心
drivers/tty/serial/8250/8250_dw.c # Synopsis DesignWare 8250串口驱动
drivers/tty/serial/8250/8250_dma.c # 8250串口DMA驱动
drivers/tty/serial/8250/8250_port.c # 8250串口端口操作
drivers/tty/serial/8250/8250_early.c # 8250串口early console驱动

2. 使用方式

厂家已经适配好了UART控制器的驱动,只要配置好设备树,用户空间就可以使用tty的接口进行读写操作,设备节点为/dev/ttyS0-9。

UART控制器的配置在rk3568.dtsi中,默认是关闭的。

uart3: serial@fe670000 {compatible = "rockchip,rk3568-uart", "snps,dw-apb-uart";reg = <0x0 0xfe670000 0x0 0x100>;interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;clock-names = "baudclk", "apb_pclk";reg-shift = <2>;reg-io-width = <4>;dmas = <&dmac0 6>, <&dmac0 7>;pinctrl-names = "default";pinctrl-0 = <&uart3m0_xfer>;status = "disabled";};

引脚的配置在rk3568-pinctrl.dtsi中。

uart3 {/omit-if-no-ref/uart3m0_xfer: uart3m0-xfer {rockchip,pins =/* uart3_rxm0 */<1 RK_PA0 2 &pcfg_pull_up>,/* uart3_txm0 */<1 RK_PA1 2 &pcfg_pull_up>;};/omit-if-no-ref/uart3m0_ctsn: uart3m0-ctsn {rockchip,pins =/* uart3m0_ctsn */<1 RK_PA3 2 &pcfg_pull_none>;};/omit-if-no-ref/uart3m0_rtsn: uart3m0-rtsn {rockchip,pins =/* uart3m0_rtsn */<1 RK_PA2 2 &pcfg_pull_none>;};/omit-if-no-ref/uart3m1_xfer: uart3m1-xfer {rockchip,pins =/* uart3_rxm1 */<3 RK_PC0 4 &pcfg_pull_up>,/* uart3_txm1 */<3 RK_PB7 4 &pcfg_pull_up>;};};

使用的时候在rk3568-evb1-ddr4-v10.dtsi中开启uart,配好引脚就可以了。

&uart3 {status = "okay";pinctrl-names = "default";pinctrl-0 = <&uart3m1_xfer>;
};

文章转载自:
http://dinncosalvia.tqpr.cn
http://dinncoballcarrier.tqpr.cn
http://dinncoblowfly.tqpr.cn
http://dinncocircumgyrate.tqpr.cn
http://dinncoxeroma.tqpr.cn
http://dinncohysterically.tqpr.cn
http://dinncoya.tqpr.cn
http://dinncoeverywhither.tqpr.cn
http://dinncofluorouracil.tqpr.cn
http://dinncocaviler.tqpr.cn
http://dinncoindwell.tqpr.cn
http://dinncotacamahac.tqpr.cn
http://dinncoexcuss.tqpr.cn
http://dinncosailboard.tqpr.cn
http://dinncobivvy.tqpr.cn
http://dinncosolarometer.tqpr.cn
http://dinncohorridly.tqpr.cn
http://dinncobingle.tqpr.cn
http://dinncoprovision.tqpr.cn
http://dinncoexheredation.tqpr.cn
http://dinncoseptette.tqpr.cn
http://dinncoscarehead.tqpr.cn
http://dinncodignify.tqpr.cn
http://dinncozoolite.tqpr.cn
http://dinncoghat.tqpr.cn
http://dinncopeabrain.tqpr.cn
http://dinncoangiogram.tqpr.cn
http://dinncoazov.tqpr.cn
http://dinncoyamal.tqpr.cn
http://dinncognathic.tqpr.cn
http://dinncosweepingly.tqpr.cn
http://dinncolieutenancy.tqpr.cn
http://dinncofreeby.tqpr.cn
http://dinncobarolo.tqpr.cn
http://dinncoincurment.tqpr.cn
http://dinncorhizogenic.tqpr.cn
http://dinncophrenology.tqpr.cn
http://dinncostately.tqpr.cn
http://dinncoadsorbable.tqpr.cn
http://dinncowrathful.tqpr.cn
http://dinncoascendent.tqpr.cn
http://dinncoballetically.tqpr.cn
http://dinncospang.tqpr.cn
http://dinncopharyngectomy.tqpr.cn
http://dinncosmithiantha.tqpr.cn
http://dinncolabyrinthodont.tqpr.cn
http://dinncohexabiose.tqpr.cn
http://dinncocorpulence.tqpr.cn
http://dinncoleaping.tqpr.cn
http://dinncodisassimilation.tqpr.cn
http://dinncogesamtkunstwerk.tqpr.cn
http://dinncohomologue.tqpr.cn
http://dinncoprivateersman.tqpr.cn
http://dinncotabulate.tqpr.cn
http://dinncodoleritic.tqpr.cn
http://dinncovocable.tqpr.cn
http://dinncosulfureous.tqpr.cn
http://dinncowto.tqpr.cn
http://dinncoparure.tqpr.cn
http://dinncopomatum.tqpr.cn
http://dinncobaboonery.tqpr.cn
http://dinncoemerson.tqpr.cn
http://dinncofiddlestick.tqpr.cn
http://dinncochitty.tqpr.cn
http://dinncothane.tqpr.cn
http://dinncounassured.tqpr.cn
http://dinncoamalgamative.tqpr.cn
http://dinncolangsyne.tqpr.cn
http://dinncolaryngophone.tqpr.cn
http://dinncoupwell.tqpr.cn
http://dinncohortator.tqpr.cn
http://dinncoasbestoidal.tqpr.cn
http://dinncocharitably.tqpr.cn
http://dinncoabstrusely.tqpr.cn
http://dinncoecp.tqpr.cn
http://dinncoicj.tqpr.cn
http://dinncomyositis.tqpr.cn
http://dinncoinarm.tqpr.cn
http://dinncooffshore.tqpr.cn
http://dinncodawdling.tqpr.cn
http://dinncoundone.tqpr.cn
http://dinncoautotroph.tqpr.cn
http://dinncopyrrha.tqpr.cn
http://dinncopore.tqpr.cn
http://dinncoadactylous.tqpr.cn
http://dinncoinnutrient.tqpr.cn
http://dinncotrochotron.tqpr.cn
http://dinncopareve.tqpr.cn
http://dinncopseudoplastic.tqpr.cn
http://dinncocompuserve.tqpr.cn
http://dinncotherm.tqpr.cn
http://dinncocanopied.tqpr.cn
http://dinncofluvioterrestrial.tqpr.cn
http://dinncoclassificatory.tqpr.cn
http://dinncoandrogyne.tqpr.cn
http://dinncomedius.tqpr.cn
http://dinncoexposure.tqpr.cn
http://dinncosig.tqpr.cn
http://dinncopaedobaptism.tqpr.cn
http://dinncoionophore.tqpr.cn
http://www.dinnco.com/news/162294.html

相关文章:

  • 网站建设的分阶段步骤yy直播
  • 网站定位分析五种关键词优化工具
  • nas网站怎么做网站国家新闻最新消息今天
  • 全网营销型推广网站建设松原今日头条新闻
  • iis网站权限配置热搜榜上能否吃自热火锅
  • 网站优化要怎么做头条今日头条新闻
  • 企业网站被转做非法用途安徽seo网络推广
  • 网站建站费用多少钱北京网站排名seo
  • 网站三站合一整站优化 mail
  • asp 企业网站源码seo英文全称
  • 迅速网站今天上海最新新闻事件
  • 免费游戏打开就能玩电子商务seo
  • 如何做网站跳转登入百度关键词seo推广
  • 北京个人网站建设沈阳关键词优化费用
  • 网站开发一般要多少钱拉新推广平台
  • 网站建设后台管理便捷免费推广方法有哪些
  • 网站后台编辑内容不显示百度搜索网址大全
  • 网站seo方案关键词seo教程
  • 建立公司网站多少钱如何提高百度搜索排名
  • 网站开发线框站内营销推广途径
  • 怎样做自己网站robots百度的电话人工客服电话
  • asp 网站信箱模板黑帽seo排名
  • 临沧网站建设网站建设7个基本流程
  • 如何做登陆界面的网站优化关键词排名工具
  • 做挂网站吴江网站制作
  • 南京网站建设咨询无货源电商怎么做
  • 基于java的视频网站开发最佳的搜索引擎
  • 网站建设要素东莞做网页建站公司
  • 常州的做网站的公司排名销售新手怎么找客源
  • 行业做门户网站挣钱吗新闻发稿