- Embedded Systems Architecture
- Daniele Lacamera
- 182字
- 2021-06-25 21:54:59
USB
The USB protocol, originally designed to replace UART and include many protocols in the same hardware connector, is very popular in personal computers, portable devices, and a huge number of peripherals.
This protocol works in host-device mode, with one side of communication, the device, exposing services that can be used by the controller, on the host side. USB transceivers present in many microcontrollers can work in both modes. By implementing the upper layer of the USB standards, different types of devices can be emulated by the microcontroller, such as serial ports, storage devices, and point-to-point Ethernet interfaces, creating microcontroller-based USB devices that can be connected to a host system.
If the transceiver supports host mode, the embedded system can act as a USB host and devices can be connected to it. In this case, the system should implement device drivers and applications to access the functionality provided by the device.
When both modes are implemented on the same USB controller, the transceiver works in on-the-go (OTG) mode, and the selection and configuration of the desired mode can be done at runtime.
- Linux設備驅動開發詳解:基于最新的Linux4.0內核
- Citrix XenApp Performance Essentials
- UNIX操作系統設計
- Google系統架構解密:構建安全可靠的系統
- 蘋果電腦玩全攻略 OS X 10.8 Mountain Lion
- BPEL and Java Cookbook
- Kubernetes網絡權威指南:基礎、原理與實踐
- 深入Linux內核架構與底層原理(第2版)
- Linux命令行大全(第2版)
- 計算機系統:基于x86+Linux平臺
- RHCSARHCE 紅帽Linux認證學習指南(第7版)EX200 & EX300
- Kali Linux高級滲透測試(原書第3版)
- OpenVZ Essentials
- Linux集群之美
- 再也不踩坑的kubernetes實戰指南