usb hardware logic block diagram

本文解析了USB设备的基本结构,区分了端口与端点的概念,并介绍了主设备与从设备的区别。此外,还详细阐述了USB设备描述符之间的关联,包括设备描述符、配置描述符、接口描述符和端点描述符之间的层次关系。

USB logic block diagram

 

 

usbn9603

 

 

 

an2131qc:

 

 

usb hub block diagram

 

这里需要注意的有三点:

1. 是端口和端点的区别,端口(port)是一个usb设备接口端点(endpoint)是从设备控制芯片上的寄存器。

2. 主设备和从设备的区别,只有主设备才有host control 和hub ,对于从设备是不存在这两组寄存器。

3. USB几个设备描述符之间关联。一个USB设备有一个设备描述符,设备描述符里面决定了该设备有多少种配置,每种配置描述符对应着配置描述符;而在配置描述符中又定义了该配置里面有多少个接口,每个接口有对应的接口描述符;在接口描述符里面又定义了该接口有多少个端点,每个端点对应一个端点描述符;端点描述符定义了端点的大小,类型等等。USB的描述符之间的关系是一层一层的,最上一层是设备描述符,下面是配置描述符,再下面是接口描述符,再下面是端点描述符。

4. 为什么获取了三次描述符。在获取描述符时,先获取设备描述符,然后再获取配置描述符,根据配置描述符中的配置集合长度,一次将配置描述符、接口描述符、端点描述符一起一次读回。其中可能还会有获取设备序列号,厂商字符串,产品字符串等。

 

 

### PLC Electrical Schematic Simulation Software For the purpose of simulating PLC electrical schematics, several specialized software tools can be utilized to ensure accurate and efficient design verification. One such tool is EPLAN Electric P8 which offers comprehensive functionalities tailored specifically for designing and validating electrical control systems including those involving Programmable Logic Controllers (PLCs)[^1]. This application supports not only schematic creation but also integrates seamlessly with other engineering processes. Another option worth considering is TIA Portal by Siemens; this integrated environment provides powerful simulation capabilities alongside programming facilities for various types of industrial controllers like S7 series from Siemens itself. It allows users to test their ladder logic programs against virtual models before deploying them onto actual hardware setups[^2]. Moreover, there exist more general-purpose solutions that cater well enough when it comes down to basic needs related to PLC simulations: - **MATLAB/Simulink**: Offers block diagram modeling along with scripting support through Simulink Real-Time toolbox enabling real-time testing environments. - **LabVIEW**: A graphical system design platform provided by National Instruments featuring extensive libraries dedicated towards automation applications as well as communication protocols used within factory floors. In addition to these commercial offerings, open-source alternatives may serve adequately depending upon project requirements while potentially offering greater flexibility at no cost associated therewith. For instance, projects built around Python combined with specific packages could provide custom-tailored approaches leveraging community contributions continuously expanding over time. ```python import pyfpgalink # Hypothetical package for interfacing with FPGAs/PLCs via JTAG or similar interfaces ```
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值