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

专业网站开发平台秦皇岛北戴河

专业网站开发平台,秦皇岛北戴河,装潢设计公司门头,湖南企业网络推广软件和USB应该是老朋友了#xff0c;从2011年接触Android开发开始#xff0c;就天天和USB打交道了。那时候还有不 对称扁头的usb/方口的usb#xff0c;直到如今使用广泛的防反插USB3.0 type-C。 但是#xff0c;一直有一个不是很清楚的问题萦绕在心头#xff0c;那就是。先有…和USB应该是老朋友了从2011年接触Android开发开始就天天和USB打交道了。那时候还有不 对称扁头的usb/方口的usb直到如今使用广泛的防反插USB3.0 type-C。 但是一直有一个不是很清楚的问题萦绕在心头那就是。先有USB协议还是先有USB connector定义 什么USB1.0USB2.0USB3.0 USB PD 等等。这些协议和接口又是一个什么样的关系今天就来简单整理一下。但是重心会放在移动设备上广泛使用的USB2.0/USB OTG/ USB3.0Type-B和Type-C。 认识USB设备带USB插槽的LaptopU盘USB鼠标/键盘USB移动硬盘USB充电宝USB Type-C。 USB 设备分类 通常USB设备分为主设备和从设备。通常笔记本会充当主设备而其它接在笔记本上的设备为从设备也可以统一称为外设。 通信过程以U盘为例 Powering on the Laptop: When you power on the laptop, the system boots up, and the operating system (such as Windows, macOS, or Linux) is loaded into the laptops memory (RAM). The operating system takes control of the laptops hardware and manages the execution of software applications. Connecting the USB Interface Disk: You connect the USB interface disk (such as a USB flash drive or an external hard drive) to one of the available USB ports on the laptop. The USB port provides both power and data connectivity for the attached device. Device Recognition枚举的过程: The operating system detects the presence of the connected USB interface disk. It identifies the device and loads the appropriate device drivers if necessary. Device drivers are software components that enable the operating system to communicate with and control the connected device. Mounting the Disk: Once the USB interface disk is recognized, the operating system mounts it挂在文件系统, which means it makes the storage space on the disk accessible to the laptops file system. The operating system assigns a drive letter or mount point to the disk, allowing you to access its contents. File System Access: With the USB interface disk mounted, you can interact with its contents through the file manager or file explorer of the operating system. You can browse files, copy, move, delete, or perform other file operations on the disk, similar to how you would interact with files on the laptops internal storage. Data Transfer: You can transfer data between the laptop and the USB interface disk by simply dragging and dropping files or using copy-paste operations. The operating system manages the data transfer process, ensuring that the data is written to or read from the appropriate locations on the disk. Safe Removal: To safely remove the USB interface disk, you should use the operating systems eject or safely remove feature. This ensures that all pending write operations are completed and the file system is properly unmounted from the disk. Following this procedure helps prevent data corruption or loss. Disconnecting the Disk: After safely removing the USB interface disk, you can physically disconnect it from the laptops USB port.协议上 通信过程 In USB communication, the transfer process is typically initiated by the USB master device.所有的通信都应该由主设备法起。 The USB master device, also known as the host, is responsible for controlling the USB bus and managing communication with connected USB devices. The USB master device takes the initiative to initiate various USB transactions such as data数据 transfers, control commands命令, and enumeration枚举. It sends requests to the connected USB devices, instructing them to perform specific actions or transfer data. On the other hand, USB slave devices, also called peripherals通称为外设, respond to the commands and requests from the USB master device. They do not initiate communication actively but instead wait for commands or requests from the master device. When you connect a USB interface disk (a slave device) to a laptop (the master device), the laptops operating system, acting as the USB host, recognizes the presence of the USB device and initiates the communication. It sends commands and requests to the USB interface disk to perform actions such as reading or writing data. The USB master device controls the entire transfer process, including the direction of data flow (from the host to the device or vice versa), the type of transfer (bulk, control, isochronous, or interrupt), and the timing and coordination of the transfer. 总而言之USB主设备控制一切通信过程 电气差异作为主设备时候 4-Pin USB2.05-Pin USB2.0 OTG9-Pin USB 3.0 USB3.0向后兼容USB2.0另外支持一个SuperSeepd bus。 电气差异作为从设备时候 1. 4-Pin USB2.0                2. 4-Pin USB2.0 OTG                3. 9-Pin USB3.0 USB3.0 Type A 对应的引脚说明 USB3.0 Type-B的长下面的样子 USB3.0 Type-C24Pin 发展时间 速度对比 总结 USB的协议发展很快从USB协议1.0/2.0/3.0/4.0 ...对应的connector也是4pin/5pin/9pin/24pin的演化。 如果9pin的USB3.0 需要支持OTG那么要将上图中的一路GND_DRAIN设备ID pin. 而我的使用case是设备作为USB3.0 prepherial 和USB2.0 host支持OTG并对外供电5pin。 当我们使用USB3.0时候不建议带OTG因为USB2.0已经支持3.0追求的是更快/更大电流 万能的WWW什么知识都有就看你是否愿意花时间了。Serial port, RS232 and RS485 software. Data logging and monitoring software for COM, RS232, USB and TCP ports, OPC and DDE interfaces
http://www.pierceye.com/news/126975/

相关文章:

  • 启东住房和城乡建设局网站邢台网站制作报价多少钱
  • 佛山网站建设seo优化做英文的小说网站有哪些
  • 安顺建设局网站官网哪里有响应式网站企业
  • 唯品会一家做特卖的网站国家商标查询官方网站
  • 网站宝搭建网站环境做电商网站一般需要什么流程图
  • 南通网站建设团队wordpress广告产检
  • 做网站刷赞qq怎么赚钱邢台路桥建设总公司没有网站吗
  • 网站仿站教程常用外贸网站
  • 南昌市有帮做网站的吗纵横天下网站开发
  • pc网站直接转换成移动端的网站黑果云免费虚拟主机
  • 网站建设用什么科目wordpress当前分类链接地址
  • 做一万个网站网站做下载功能
  • 佛山建站模板制作wordpress加上live2d
  • 樟木头网站仿做深圳网站开发公司
  • 孙俪做的网站广告微信如何修改wordpress
  • 有什么手机做网站的免费ppt模板下载花
  • 网站建设团队技术介绍县级网站
  • 深圳营销型网站建设价格网站建设文化如何
  • 提交网站的入口地址网站建设灬金手指下拉十五
  • 连云港建设局网站学校网站建设管理相关规定
  • 什么网站做玩具的外贸网站监控系统
  • 从事网站美工建设厦门网站制作企业
  • 网站后台传图片南昌做网站要多少钱
  • 网站包括什么国内最大的域名交易平台
  • 做营销型网站 公司哈尔滨展览设计公司
  • 网站设计费用多少钱产品网页设计教程
  • 深圳公司网站建设设计网站推广的意义和方法
  • 网站需要哪些费用免费营销型网站模版
  • 如何做购物网站的教程wordpress酷炫插件
  • 建设信用卡网站登录网站建设和微信小程序