VSF Documented
|
#include "component/usb/vsf_usb_cfg.h"
#include "kernel/vsf_kernel.h"
#include "component/usb/host/vsf_usbh.h"
#include "./vsf_dwcotg_hcd.h"
Data Structures | |
struct | vk_dwcotg_hcd_urb_t |
union | vk_dwcotg_fifo_status_t |
struct | vk_dwcotg_hcd_t |
Macros | |
#define | __VSF_USBH_CLASS_IMPLEMENT_HCD__ |
#define | __VSF_USBH_CLASS_IMPLEMENT_HUB__ |
#define | __VSF_DWCOTG_HCD_CLASS_IMPLEMENT |
#define | __VSF_EDA_CLASS_INHERIT__ |
#define | VSF_DWCOTG_HCD_CFG_ENABLE_ROOT_HUB DISABLED |
#define | VSF_DWCOTG_HCD_CFG_HS_BULK_IN_NAK_HOLDOFF 0 |
#define | VSF_DWCOTG_HCD_CFG_TRACE_PORT DISABLED |
#define | VSF_DWCOTG_HCD_CFG_TRACE_CHANNEL DISABLED |
#define | __VSF_DWCOTG_HCD_CFG_PORT_RESET_CHECK DISABLED |
#define | USB_OTG_HPRT_W1C_MASK (USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | USB_OTG_HPRT_PENCHNG | USB_OTG_HPRT_POCCHNG) |
Typedefs | |
typedef struct vk_dwcotg_hcd_urb_t | vk_dwcotg_hcd_urb_t |
typedef union vk_dwcotg_fifo_status_t | vk_dwcotg_fifo_status_t |
typedef struct vk_dwcotg_hcd_t | vk_dwcotg_hcd_t |
Enumerations | |
enum | { DWCOTG_HCD_DPIP_DATA0 = 0 , DWCOTG_HCD_DPIP_DATA1 = 2 , DWCOTG_HCD_DPIP_SETUP = 3 } |
enum | vk_dwcotg_hcd_urb_channel_phase_t { VSF_DWCOTG_HCD_PHASE_IDLE = 0 , VSF_DWCOTG_HCD_PHASE_PERIOD , VSF_DWCOTG_HCD_PHASE_SETUP , VSF_DWCOTG_HCD_PHASE_DATA , VSF_DWCOTG_HCD_PHASE_STATUS , VSF_DWCOTG_HCD_PHASE_DONE } |
Functions | |
void | vsf_dwcotg_hcd_get_fifo_size (vk_usbh_hcd_t *hcd, uint16_t *rx_fifo_size, uint16_t *non_periodic_tx_fifo_size, uint16_t *periodic_tx_fifo_size) |
Variables | |
enum vk_dwcotg_hcd_urb_channel_phase_t | vk_dwcotg_hcd_urb_channel_phase_t |
const vk_usbh_hcd_drv_t | vk_dwcotg_hcd_drv |
#define __VSF_USBH_CLASS_IMPLEMENT_HCD__ |
#define __VSF_USBH_CLASS_IMPLEMENT_HUB__ |
#define __VSF_DWCOTG_HCD_CLASS_IMPLEMENT |
#define __VSF_EDA_CLASS_INHERIT__ |
#define VSF_DWCOTG_HCD_CFG_ENABLE_ROOT_HUB DISABLED |
#define VSF_DWCOTG_HCD_CFG_HS_BULK_IN_NAK_HOLDOFF 0 |
#define VSF_DWCOTG_HCD_CFG_TRACE_PORT DISABLED |
#define VSF_DWCOTG_HCD_CFG_TRACE_CHANNEL DISABLED |
#define __VSF_DWCOTG_HCD_CFG_PORT_RESET_CHECK DISABLED |
#define USB_OTG_HPRT_W1C_MASK (USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | USB_OTG_HPRT_PENCHNG | USB_OTG_HPRT_POCCHNG) |
typedef struct vk_dwcotg_hcd_urb_t vk_dwcotg_hcd_urb_t |
typedef union vk_dwcotg_fifo_status_t vk_dwcotg_fifo_status_t |
typedef struct vk_dwcotg_hcd_t vk_dwcotg_hcd_t |
|
extern |
const vk_usbh_hcd_drv_t vk_dwcotg_hcd_drv |