![]() |
M4521_BSP V3.02.000
The Board Support Package for M4521
|
#include <stdio.h>#include <string.h>#include "M4521.h"#include "usbh_core.h"#include "usbh_hub.h"#include "usbh_ohci.h"
Go to the source code of this file.
Functions | |
| HIDDEN_SYMBOLS void | usbh_init_memory () |
| URB_T * | USBH_AllocUrb () |
| Allocate an URB from USB Core driver internal URB pool. More... | |
| void | USBH_FreeUrb (URB_T *urb) |
| Free the URB allocated from USBH_AllocUrb() More... | |
| void | usbh_free_dev_urbs (USB_DEV_T *dev) |
| ED_T * | ohci_alloc_ed () |
| void | ohci_free_ed (ED_T *ed_p) |
| TD_T * | ohci_alloc_td (USB_DEV_T *dev) |
| void | ohci_free_td (TD_T *td_p) |
| void | ohci_free_dev_td (USB_DEV_T *dev) |
| USB_DEV_T * | usbh_alloc_device (USB_DEV_T *parent, USB_BUS_T *bus) |
| void | usbh_free_device (USB_DEV_T *dev) |
| USB_HUB_T * | usbh_alloc_hubdev () |
| void | usbh_free_hubdev (USB_HUB_T *hub) |
| USB_HUB_T * | usbh_get_hub_by_dev (USB_DEV_T *dev) |
| void | usbh_mdelay (uint32_t msec) |
| ED_T * ohci_alloc_ed | ( | ) |
Definition at line 133 of file usbh_support.c.
| TD_T * ohci_alloc_td | ( | USB_DEV_T * | dev | ) |
Definition at line 169 of file usbh_support.c.
| void ohci_free_dev_td | ( | USB_DEV_T * | dev | ) |
Definition at line 205 of file usbh_support.c.
| void ohci_free_ed | ( | ED_T * | ed_p | ) |
| void ohci_free_td | ( | TD_T * | td_p | ) |
Definition at line 189 of file usbh_support.c.
Definition at line 224 of file usbh_support.c.
| USB_HUB_T * usbh_alloc_hubdev | ( | ) |
Definition at line 276 of file usbh_support.c.
| void usbh_free_dev_urbs | ( | USB_DEV_T * | dev | ) |
| void usbh_free_device | ( | USB_DEV_T * | dev | ) |
| void usbh_free_hubdev | ( | USB_HUB_T * | hub | ) |
Definition at line 294 of file usbh_support.c.
| USB_HUB_T * usbh_get_hub_by_dev | ( | USB_DEV_T * | dev | ) |
Definition at line 310 of file usbh_support.c.
| HIDDEN_SYMBOLS void usbh_init_memory | ( | ) |
| void usbh_mdelay | ( | uint32_t | msec | ) |
Definition at line 330 of file usbh_support.c.