| M480 BSP V3.05.001 The Board Support Package for M480 Series

Macros
USBD Exported Constants
Standard Driver » USBD Driver

## Macros
#define | USBD_BUF_BASE
#define | USBD_MAX_EP
#define | EP0
#define | EP1
#define | EP2
#define | EP3
#define | EP4
#define | EP5
#define | EP6
#define | EP7
#define | EP8
#define | EP9
#define | EP10
#define | EP11
#define | USBD_WAKEUP_EN
#define | USBD_DRVSE0
#define | USBD_DPPU_EN
#define | USBD_PWRDN
#define | USBD_PHY_EN
#define | USBD_USB_EN
#define | USBD_INT_BUS
#define | USBD_INT_USB
#define | USBD_INT_FLDET
#define | USBD_INT_WAKEUP
#define | USBD_INTSTS_WAKEUP
#define | USBD_INTSTS_FLDET
#define | USBD_INTSTS_BUS
#define | USBD_INTSTS_USB
#define | USBD_INTSTS_SETUP
#define | USBD_INTSTS_EP0
#define | USBD_INTSTS_EP1
#define | USBD_INTSTS_EP2
#define | USBD_INTSTS_EP3
#define | USBD_INTSTS_EP4
#define | USBD_INTSTS_EP5
#define | USBD_INTSTS_EP6
#define | USBD_INTSTS_EP7
#define | USBD_INTSTS_EP8
#define | USBD_INTSTS_EP9
#define | USBD_INTSTS_EP10
#define | USBD_INTSTS_EP11
#define | USBD_STATE_USBRST
#define | USBD_STATE_SUSPEND
#define | USBD_STATE_RESUME
#define | USBD_STATE_TIMEOUT
#define | USBD_CFGP_SSTALL
#define | USBD_CFG_CSTALL
#define | USBD_CFG_EPMODE_DISABLE
#define | USBD_CFG_EPMODE_OUT
#define | USBD_CFG_EPMODE_IN
#define | USBD_CFG_TYPE_ISO

## Detailed Description

## Macro Definition Documentation

## ◆ EP0

#define EP0

Endpoint 0

Definition at line 54 of file usbd.h.

## ◆ EP1

#define EP1

Endpoint 1

Definition at line 55 of file usbd.h.

## ◆ EP10

#define EP10

Endpoint 10

Definition at line 64 of file usbd.h.

## ◆ EP11

#define EP11

Endpoint 11

Definition at line 65 of file usbd.h.

## ◆ EP2

#define EP2

Endpoint 2

Definition at line 56 of file usbd.h.

## ◆ EP3

#define EP3

Endpoint 3

Definition at line 57 of file usbd.h.

## ◆ EP4

#define EP4

Endpoint 4

Definition at line 58 of file usbd.h.

## ◆ EP5

#define EP5

Endpoint 5

Definition at line 59 of file usbd.h.

## ◆ EP6

#define EP6

Endpoint 6

Definition at line 60 of file usbd.h.

## ◆ EP7

#define EP7

Endpoint 7

Definition at line 61 of file usbd.h.

## ◆ EP8

#define EP8

Endpoint 8

Definition at line 62 of file usbd.h.

## ◆ EP9

#define EP9

Endpoint 9

Definition at line 63 of file usbd.h.

## ◆ USBD_BUF_BASE

#define USBD_BUF_BASE

USBD buffer base address

Definition at line 51 of file usbd.h.

## ◆ USBD_CFG_CSTALL

#define USBD_CFG_CSTALL

Clear Stall

Definition at line 173 of file usbd.h.

## ◆ USBD_CFG_EPMODE_DISABLE

#define USBD_CFG_EPMODE_DISABLE

Endpoint Disable

Definition at line 175 of file usbd.h.

## ◆ USBD_CFG_EPMODE_IN

#define USBD_CFG_EPMODE_IN

In Endpoint

Definition at line 177 of file usbd.h.

## ◆ USBD_CFG_EPMODE_OUT

#define USBD_CFG_EPMODE_OUT

Out Endpoint

Definition at line 176 of file usbd.h.

## ◆ USBD_CFG_TYPE_ISO

#define USBD_CFG_TYPE_ISO

Isochronous

Definition at line 178 of file usbd.h.

## ◆ USBD_CFGP_SSTALL

#define USBD_CFGP_SSTALL

Set Stall

Definition at line 172 of file usbd.h.

## ◆ USBD_DPPU_EN

#define USBD_DPPU_EN

USB D+ Pull-up Enable

Definition at line 139 of file usbd.h.

## ◆ USBD_DRVSE0

#define USBD_DRVSE0

Drive SE0

Definition at line 137 of file usbd.h.

## ◆ USBD_INT_BUS

#define USBD_INT_BUS

USB Bus Event Interrupt

Definition at line 144 of file usbd.h.

## ◆ USBD_INT_FLDET

#define USBD_INT_FLDET

USB VBUS Detection Interrupt

Definition at line 146 of file usbd.h.

## ◆ USBD_INT_USB

#define USBD_INT_USB

USB Event Interrupt

Definition at line 145 of file usbd.h.

## ◆ USBD_INT_WAKEUP

#define USBD_INT_WAKEUP

USB No-Event-Wake-Up Interrupt

Definition at line 147 of file usbd.h.

## ◆ USBD_INTSTS_BUS

#define USBD_INTSTS_BUS

USB Bus Event Interrupt Status

Definition at line 151 of file usbd.h.

## ◆ USBD_INTSTS_EP0

#define USBD_INTSTS_EP0

USB Endpoint 0 Event

Definition at line 154 of file usbd.h.

## ◆ USBD_INTSTS_EP1

#define USBD_INTSTS_EP1

USB Endpoint 1 Event

Definition at line 155 of file usbd.h.

## ◆ USBD_INTSTS_EP10

#define USBD_INTSTS_EP10

USB Endpoint 10 Event

Definition at line 164 of file usbd.h.

## ◆ USBD_INTSTS_EP11

#define USBD_INTSTS_EP11

USB Endpoint 11 Event

Definition at line 165 of file usbd.h.

## ◆ USBD_INTSTS_EP2

#define USBD_INTSTS_EP2

USB Endpoint 2 Event

Definition at line 156 of file usbd.h.

## ◆ USBD_INTSTS_EP3

#define USBD_INTSTS_EP3

USB Endpoint 3 Event

Definition at line 157 of file usbd.h.

## ◆ USBD_INTSTS_EP4

#define USBD_INTSTS_EP4

USB Endpoint 4 Event

Definition at line 158 of file usbd.h.

## ◆ USBD_INTSTS_EP5

#define USBD_INTSTS_EP5

USB Endpoint 5 Event

Definition at line 159 of file usbd.h.

## ◆ USBD_INTSTS_EP6

#define USBD_INTSTS_EP6

USB Endpoint 6 Event

Definition at line 160 of file usbd.h.

## ◆ USBD_INTSTS_EP7

#define USBD_INTSTS_EP7

USB Endpoint 7 Event

Definition at line 161 of file usbd.h.

## ◆ USBD_INTSTS_EP8

#define USBD_INTSTS_EP8

USB Endpoint 8 Event

Definition at line 162 of file usbd.h.

## ◆ USBD_INTSTS_EP9

#define USBD_INTSTS_EP9

USB Endpoint 9 Event

Definition at line 163 of file usbd.h.

## ◆ USBD_INTSTS_FLDET

#define USBD_INTSTS_FLDET

USB Float Detect Interrupt Status

Definition at line 150 of file usbd.h.

## ◆ USBD_INTSTS_SETUP

#define USBD_INTSTS_SETUP

USB Setup Event

Definition at line 153 of file usbd.h.

## ◆ USBD_INTSTS_USB

#define USBD_INTSTS_USB

USB Event Interrupt Status

Definition at line 152 of file usbd.h.

## ◆ USBD_INTSTS_WAKEUP

#define USBD_INTSTS_WAKEUP

USB No-Event-Wake-Up Interrupt Status

Definition at line 149 of file usbd.h.

## ◆ USBD_MAX_EP

#define USBD_MAX_EP

Total EP number

Definition at line 52 of file usbd.h.

## ◆ USBD_PHY_EN

#define USBD_PHY_EN

PHY Enable

Definition at line 141 of file usbd.h.

## ◆ USBD_PWRDN

#define USBD_PWRDN

PHY Turn-On

Definition at line 140 of file usbd.h.

## ◆ USBD_STATE_RESUME

#define USBD_STATE_RESUME

USB Bus Resume

Definition at line 169 of file usbd.h.

## ◆ USBD_STATE_SUSPEND

#define USBD_STATE_SUSPEND

USB Bus Suspend

Definition at line 168 of file usbd.h.

## ◆ USBD_STATE_TIMEOUT

#define USBD_STATE_TIMEOUT

USB Bus Timeout

Definition at line 170 of file usbd.h.

## ◆ USBD_STATE_USBRST

#define USBD_STATE_USBRST

USB Bus Reset

Definition at line 167 of file usbd.h.

## ◆ USBD_USB_EN

#define USBD_USB_EN

USB Enable

Definition at line 142 of file usbd.h.

## ◆ USBD_WAKEUP_EN

#define USBD_WAKEUP_EN

HIDDEN_SYMBOLS USB Wake-up Enable

Definition at line 136 of file usbd.h.