VSF Documented
|
#include "component/usb/vsf_usb_cfg.h"
Go to the source code of this file.
Data Structures | |
struct | vk_musb_fdrc_common_reg_t |
struct | vk_musb_fdrc_ep0_reg_t |
struct | vk_musb_fdrc_epn_reg_t |
union | vk_musb_fdrc_fifo_reg_t |
union | vk_musb_fdrc_ep_reg_t |
struct | vk_musb_fdrc_reg_info_t |
struct | vk_musb_fdrc_reg_t |
struct | vk_musb_fdrc_dc_ip_info_t |
struct | vk_musb_fdrc_hc_ip_info_t |
Typedefs | |
typedef uint8_t | vk_musb_reg_t |
typedef struct vk_musb_fdrc_common_reg_t | vk_musb_fdrc_common_reg_t |
typedef struct vk_musb_fdrc_ep0_reg_t | vk_musb_fdrc_ep0_reg_t |
typedef struct vk_musb_fdrc_epn_reg_t | vk_musb_fdrc_epn_reg_t |
typedef union vk_musb_fdrc_fifo_reg_t | vk_musb_fdrc_fifo_reg_t |
typedef union vk_musb_fdrc_ep_reg_t | vk_musb_fdrc_ep_reg_t |
typedef struct vk_musb_fdrc_reg_info_t | vk_musb_fdrc_reg_info_t |
typedef struct vk_musb_fdrc_reg_t | vk_musb_fdrc_reg_t |
typedef struct vk_musb_fdrc_dc_ip_info_t | vk_musb_fdrc_dc_ip_info_t |
typedef struct vk_musb_fdrc_hc_ip_info_t | vk_musb_fdrc_hc_ip_info_t |
#define MUSB_POWER_ISOUPDATE ((uint8_t)(1 << 7)) |
#define MUSB_POWER_RESET ((uint8_t)(1 << 3)) |
#define MSUB_POWER_RESUME ((uint8_t)(1 << 2)) |
#define MSUB_POWER_SUSPENDM ((uint8_t)(1 << 1)) |
#define MUSB_POWER_ENABLESUSPEND ((uint8_t)(1 << 0)) |
#define MUSB_INTRUSB_VBUSERROR ((uint8_t)(1 << 7)) |
#define MUSB_INTRUSB_SESSREQ ((uint8_t)(1 << 6)) |
#define MUSB_INTRUSB_DISCON ((uint8_t)(1 << 5)) |
#define MUSB_INTRUSB_CONN ((uint8_t)(1 << 4)) |
#define MUSB_INTRUSB_SOF ((uint8_t)(1 << 3)) |
#define MUSB_INTRUSB_RESET ((uint8_t)(1 << 2)) |
#define MUSB_INTRUSB_RESUME ((uint8_t)(1 << 1)) |
#define MUSB_INTRUSB_SUSPEND ((uint8_t)(1 << 0)) |
#define MUSB_INTRUSBE_DISCON ((uint8_t)(1 << 5)) |
#define MUSB_INTRUSBE_CONN ((uint8_t)(1 << 4)) |
#define MUSB_INTRUSBE_SOF ((uint8_t)(1 << 3)) |
#define MUSB_INTRUSBE_RESET ((uint8_t)(1 << 2)) |
#define MUSB_INTRUSBE_RESUME ((uint8_t)(1 << 1)) |
#define MUSB_INTRUSBE_SUSPEND ((uint8_t)(1 << 0)) |
#define MUSB_DEVCTL_BDEVICE ((uint8_t)(1 << 7)) |
#define MUSB_DEVCTL_FSDEV ((uint8_t)(1 << 6)) |
#define MUSB_DEVCTL_LSDEV ((uint8_t)(1 << 5)) |
#define MUSB_DEVCTL_HOSTMODE ((uint8_t)(1 << 2)) |
#define MUSB_DEVCTL_HOSTREQ ((uint8_t)(1 << 1)) |
#define MUSB_DEVCTL_SESSION ((uint8_t)(1 << 0)) |
#define MUSBD_CSR0_SERVICEDSETUPEND ((uint8_t)(1 << 7)) |
#define MUSBD_CSR0_SERVICEDRXPKGRDY ((uint8_t)(1 << 6)) |
#define MUSBD_CSR0_SENDSTALL ((uint8_t)(1 << 5)) |
#define MUSBD_CSR0_SETUPEND ((uint8_t)(1 << 4)) |
#define MUSBD_CSR0_DATAEND ((uint8_t)(1 << 3)) |
#define MUSBD_CSR0_SENTSTALL ((uint8_t)(1 << 2)) |
#define MUSBD_CSR0_TXPKTRDY ((uint8_t)(1 << 1)) |
#define MUSBD_CSR0_RXPKTRDY ((uint8_t)(1 << 0)) |
#define MUSBH_CSR0_NAKTIMEOUT ((uint8_t)(1 << 7)) |
#define MUSBH_CSR0_STATUSPKT ((uint8_t)(1 << 6)) |
#define MUSBH_CSR0_REQPKT ((uint8_t)(1 << 5)) |
#define MUSBH_CSR0_ERROR ((uint8_t)(1 << 4)) |
#define MUSBH_CSR0_SETUPPKT ((uint8_t)(1 << 3)) |
#define MUSBH_CSR0_RXSTALL ((uint8_t)(1 << 2)) |
#define MUSBH_CSR0_TXPKTRDY ((uint8_t)(1 << 1)) |
#define MUSBH_CSR0_RXPKTRDY ((uint8_t)(1 << 0)) |
#define MUSBH_CSR0_ERRMASK (MUSBH_CSR0_NAKTIMEOUT | MUSBH_CSR0_ERROR | MUSBH_CSR0_RXSTALL) |
#define MUSBD_TXCSR1_CLRDATATOG ((uint8_t)(1 << 6)) |
#define MUSBD_TXCSR1_SENTSTALL ((uint8_t)(1 << 5)) |
#define MUSBD_TXCSR1_SENDSTALL ((uint8_t)(1 << 4)) |
#define MUSBD_TXCSR1_FLUSHFIFO ((uint8_t)(1 << 3)) |
#define MUSBD_TXCSR1_UNDERRUN ((uint8_t)(1 << 2)) |
#define MUSBD_TXCSR1_FIFONOTEMPTY ((uint8_t)(1 << 1)) |
#define MUSBD_TXCSR1_TXPKTRDY ((uint8_t)(1 << 0)) |
#define MUSBH_TXCSR1_NAKTIMEOUT ((uint8_t)(1 << 7)) |
#define MUSBH_TXCSR1_CLRDATATOG ((uint8_t)(1 << 6)) |
#define MUSBH_TXCSR1_RXSTALL ((uint8_t)(1 << 5)) |
#define MUSBH_TXCSR1_FLUSHFIFO ((uint8_t)(1 << 3)) |
#define MUSBH_TXCSR1_ERROR ((uint8_t)(1 << 2)) |
#define MUSBH_TXCSR1_FIFONOTEMPTY ((uint8_t)(1 << 1)) |
#define MUSBH_TXCSR1_TXPKTRDY ((uint8_t)(1 << 0)) |
#define MUSBH_TXCSR1_ERRMASK (MUSBH_TXCSR1_NAKTIMEOUT | MUSBH_TXCSR1_RXSTALL | MUSBH_TXCSR1_ERROR) |
#define MUSB_TXCSR2_AUTOSET ((uint8_t)(1 << 7)) |
#define MUSBD_TXCSR2_ISO ((uint8_t)(1 << 6)) |
#define MUSB_TXCSR2_MODE ((uint8_t)(1 << 5)) |
#define MUSB_TXCSR2_DMAEN ((uint8_t)(1 << 4)) |
#define MUSB_TXCSR2_FRCDATATOG ((uint8_t)(1 << 3)) |
#define MUSB_TXCSR2_DMAMODE ((uint8_t)(1 << 2)) |
#define MUSBD_RXCSR1_CLRDATATOG ((uint8_t)(1 << 7)) |
#define MUSBD_RXCSR1_SENTSTALL ((uint8_t)(1 << 6)) |
#define MUSBD_RXCSR1_SENDSTALL ((uint8_t)(1 << 5)) |
#define MUSBD_RXCSR1_FLUSHFIFO ((uint8_t)(1 << 4)) |
#define MUSBD_RXCSR1_DATAERROR ((uint8_t)(1 << 3)) |
#define MUSBD_RXCSR1_OVERRUN ((uint8_t)(1 << 2)) |
#define MUSBD_RXCSR1_FIFOFULL ((uint8_t)(1 << 1)) |
#define MUSBD_RXCSR1_RXPKTRDY ((uint8_t)(1 << 0)) |
#define MUSBH_RXCSR1_CLRDATATOG ((uint8_t)(1 << 7)) |
#define MUSBH_RXCSR1_RXSTALL ((uint8_t)(1 << 6)) |
#define MUSBH_RXCSR1_REQPKT ((uint8_t)(1 << 5)) |
#define MUSBH_RXCSR1_FLUSHFIFO ((uint8_t)(1 << 4)) |
#define MUSBH_RXCSR1_DATAERROR ((uint8_t)(1 << 3)) |
#define MUSBH_RXCSR1_NAKTIMEOUT ((uint8_t)(1 << 3)) |
#define MUSBH_RXCSR1_ERROR ((uint8_t)(1 << 2)) |
#define MUSBH_RXCSR1_FIFOFULL ((uint8_t)(1 << 1)) |
#define MUSBH_RXCSR1_RXPKTRDY ((uint8_t)(1 << 0)) |
#define MUSBH_RXCSR1_ERRMASK (MUSBH_RXCSR1_RXSTALL | MUSBH_RXCSR1_DATAERROR | MUSBH_RXCSR1_NAKTIMEOUT | MUSBH_RXCSR1_ERROR) |
#define MUSB_RXCSR2_AUTOCLEAR ((uint8_t)(1 << 7)) |
#define MUSBD_RXCSR2_ISO ((uint8_t)(1 << 6)) |
#define MUSBH_RXCSR2_AUTOREQ ((uint8_t)(1 << 6)) |
#define MUSB_RXCSR2_DMAEN ((uint8_t)(1 << 5)) |
#define MUSB_RXCSR2_DMAMODE ((uint8_t)(1 << 4)) |
typedef uint8_t vk_musb_reg_t |
typedef struct vk_musb_fdrc_common_reg_t vk_musb_fdrc_common_reg_t |
typedef struct vk_musb_fdrc_ep0_reg_t vk_musb_fdrc_ep0_reg_t |
typedef struct vk_musb_fdrc_epn_reg_t vk_musb_fdrc_epn_reg_t |
typedef union vk_musb_fdrc_fifo_reg_t vk_musb_fdrc_fifo_reg_t |
typedef union vk_musb_fdrc_ep_reg_t vk_musb_fdrc_ep_reg_t |
typedef struct vk_musb_fdrc_reg_info_t vk_musb_fdrc_reg_info_t |
typedef struct vk_musb_fdrc_reg_t vk_musb_fdrc_reg_t |
typedef struct vk_musb_fdrc_dc_ip_info_t vk_musb_fdrc_dc_ip_info_t |
typedef struct vk_musb_fdrc_hc_ip_info_t vk_musb_fdrc_hc_ip_info_t |