官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 剑阁县| 阿合奇县| 明光市| 方正县| 徐汇区| 乳山市| 江门市| 屏东县| 九寨沟县| 临沧市| 广元市| 都匀市| 辉县市| 阳曲县| 始兴县| 焦作市| 永安市| 昂仁县| 德州市| 汉阴县| 沂南县| 神木县| 铜陵市| 太康县| 凤翔县| 女性| 灯塔市| 绥德县| 呈贡县| 阿勒泰市| 竹北市| 积石山| 佳木斯市| 内乡县| 大田县| 保德县| 余姚市| 涟水县| 兴安盟| 栾城县| 民勤县|