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

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.

主站蜘蛛池模板: 苍溪县| 丹寨县| 凯里市| 新密市| 汶上县| 盈江县| 万载县| 和顺县| 高尔夫| 石景山区| 集安市| 黄石市| 祁东县| 汝州市| 黄石市| 登封市| 鹰潭市| 丽水市| 上虞市| 龙陵县| 辰溪县| 潜山县| 内丘县| 富川| 历史| 罗甸县| 吴川市| 通榆县| 景洪市| 故城县| 周至县| 漠河县| 沾益县| 塔河县| 安徽省| 马龙县| 东丰县| 那坡县| 玛沁县| 江西省| 麻栗坡县|