libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Go to the source code of this file.
Macros | |
#define | USB_CTRL MMIO32(USB_BASE + 0x000) |
#define | USB_STATUS MMIO32(USB_BASE + 0x004) |
#define | USB_IF MMIO32(USB_BASE + 0x008) |
#define | USB_IFS MMIO32(USB_BASE + 0x00C) |
#define | USB_IFC MMIO32(USB_BASE + 0x010) |
#define | USB_IEN MMIO32(USB_BASE + 0x014) |
#define | USB_ROUTE MMIO32(USB_BASE + 0x018) |
#define | USB_CTRL_BIASPROGEM23_MASK (0x3 << 24) |
#define | USB_CTRL_BIASPROGEM01_MASK (0x3 << 20) |
#define | USB_CTRL_VREGOSEN (1 << 17) |
#define | USB_CTRL_VREGDIS (1 << 16) |
#define | USB_CTRL_LEMIDLEEN (1 << 9) |
#define | USB_CTRL_LEMPHYCTRL (1 << 7) |
#define | USB_CTRL_LEMOSCCTRL_MASK (0x3 << 4) |
#define | USB_CTRL_LEMOSCCTRL_NONE (0x0 << 4) |
#define | USB_CTRL_LEMOSCCTRL_GATE (0x1 << 4) |
#define | USB_CTRL_DMPUAP (1 << 1) |
#define | USB_ROUTE_DMPUPEN (1 << 2) |
#define | USB_ROUTE_PHYPEN (1 << 0) |