![]() ![]() ![]() Bare metal CDC solution on Zynq-7000 AP SoC.How to get and configure all the Zynq-7000 AP SoC Linux kernel and dependent files for the CDC class reference.The serial communication device commands are explained in the USB Communication Device Class (CDC) reference.įor complete specifications of USB protocol, class specific specifications refer: For application specific commands there are specific commands defined in the form of USB classes. ![]() This techtip explains how to enable all the configuration options, step by step procedure to use the Zynq-7000 AP SoC OTG controller in device mode and make use of bulk transfer type for a serial communication device abstraction using the USB. The OTG controllers in Zynq-7000 AP SoC supports all the four types of transfers. These transfers types are the key abstractions for different applications development on USB with same hardware. These transfers types are Control Transfer, Bulk Transfer, Isochronous transfer and Interrupt transfer. There are four primary types of communication defined by the USB protocol, based on which any required application can be built without changing the firmware or underlying hardware for different applications. The OTG controllers can act as USB host or USB Device or dynamically changing roles between host and device. If found and not disconnected, increment * its refcount and return it with its mutex held.The Zynq-7000 AP SoC has two USB2.0 On-The-Go (OTG) controllers in the Processing System. SPDX-License-Identifier: GPL-2.0+ /* * cdc-acm.c * * Copyright (c) 1999 Armin Fuerst * Copyright (c) 1999 Pavel Machek * Copyright (c) 1999 Johannes Erdfelt * Copyright (c) 2000 Vojtech Pavlik * Copyright (c) 2004 Oliver Neukum * Copyright (c) 2005 David Kubicek * Copyright (c) 2011 Johan Hovold * * USB Abstract Control Model driver for USB modems and ISDN adapters * * Sponsored by SuSE */ # undef DEBUG # undef VERBOSE_DEBUG #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include " cdc-acm.h" #define DRIVER_AUTHOR "Armin Fuerst, Pavel Machek, Johannes Erdfelt, Vojtech Pavlik, David Kubicek, Johan Hovold" #define DRIVER_DESC "USB Abstract Control Model driver for USB modems and ISDN adapters" static struct usb_driver acm_driver static struct tty_driver * acm_tty_driver static DEFINE_IDR ( acm_minors ) static DEFINE_MUTEX ( acm_minors_lock ) static void acm_tty_set_termios ( struct tty_struct * tty, struct ktermios * termios_old ) /* * acm_minors accessors */ /* * Look up an ACM structure by minor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |