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

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.

主站蜘蛛池模板: 赫章县| 三明市| 克拉玛依市| 化德县| 始兴县| 金阳县| 海晏县| 谢通门县| 襄汾县| 卓资县| 衡山县| 秀山| 香港 | 麻阳| 大厂| 盐城市| 静海县| 永年县| 双城市| 邢台市| 江城| 克拉玛依市| 小金县| 萨迦县| 静宁县| 弥渡县| 老河口市| 罗山县| 景德镇市| 尚志市| 吉隆县| 内黄县| 潮州市| 边坝县| 光山县| 广水市| 昭通市| 德惠市| 获嘉县| 理塘县| 惠东县|