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

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.

主站蜘蛛池模板: 金华市| 柳林县| 诸城市| 南京市| 九寨沟县| 略阳县| 家居| 大同县| 和林格尔县| 汝州市| 邹城市| 黄梅县| 营山县| 内黄县| 平谷区| 富蕴县| 垣曲县| 东乡| 兴海县| 贵定县| 江津市| 大丰市| 鄄城县| 斗六市| 广元市| 蓝田县| 湘乡市| 周至县| 庆元县| 汉阴县| 青龙| 明星| 乌兰浩特市| 垫江县| 金川县| 舟曲县| 文安县| 漠河县| 莒南县| 台山市| 桐梓县|