Definition of global compile time configuration options. More...
Definition of global compile time configuration options.
Definition in file usb.h.
#include "board.h"
Include dependency graph for usb.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | INTERNAL_PERIPHERAL_VID (0x1209) |
| Reserved for RIOT standard peripherals as per http://pid.codes/1209/7D00/. | |
| #define | INTERNAL_PERIPHERAL_PID (0x7D00) |
| Reserved for RIOT standard peripherals as per http://pid.codes/1209/7D00/. | |
| #define | CONFIG_USB_VID |
| USB peripheral device vendor ID. More... | |
| #define | CONFIG_USB_PID |
| USB peripheral device product ID. More... | |
| #define | CONFIG_USB_MANUF_STR "RIOT-os.org" |
| USB peripheral manufacturer string. | |
| #define | CONFIG_USB_PRODUCT_STR RIOT_BOARD |
| USB peripheral product string. | |
| #define | CONFIG_USB_CONFIGURATION_STR "USB config" |
| USB peripheral configuration string. | |
| #define | CONFIG_USB_SERIAL_STR "RIOT-12345" |
| USB peripheral serial string. More... | |
| #define | CONFIG_USB_PRODUCT_BCDVERSION 0x0100 |
| USB peripheral serial string length. More... | |
| #define | CONFIG_USB_SPEC_BCDVERSION 0x0200 |
| USB specification version. | |
| #define | CONFIG_USB_SELF_POWERED (0) |
| USB peripheral setting to indicate self powered devices. | |
| #define | CONFIG_USB_REM_WAKEUP (0) |
| USB peripheral setting to indicate remote wakeup capability. | |
| #define | CONFIG_USB_MAX_POWER (100) |
| USB device max power draw in mA, between 0 and 500mA. | |
| #define | CONFIG_USB_DEFAULT_LANGID 0x0409 /* EN-US */ |
| Default LANG ID reported to the host. | |
| #define | USB_ENDPOINT_INTERRUPT_FS_MAX_SIZE (64) |
| Maximum transfer size for interrupt endpoints at full speed. | |
| #define | USB_ENDPOINT_INTERRUPT_HS_MAX_SIZE (1024) |
| Maximum transfer size for interrupt endpoints at high speed. | |
| #define | USB_ENDPOINT_BULK_FS_MAX_SIZE (64) |
| Maximum transfer size for bulk endpoints at full speed. | |
| #define | USB_ENDPOINT_BULK_HS_MAX_SIZE (512) |
| Maximum transfer size for bulk endpoints at high speed. | |
Enumerations | |
| enum | usb_version_t { USB_VERSION_1x , USB_VERSION_20 } |
| USB version definitions. | |
| enum | usb_speed_t { USB_SPEED_LOW , USB_SPEED_FULL , USB_SPEED_HIGH } |
| USB speed definitions. | |
| enum | usb_ep_type_t { USB_EP_TYPE_NONE = 0 , USB_EP_TYPE_CONTROL , USB_EP_TYPE_INTERRUPT , USB_EP_TYPE_BULK , USB_EP_TYPE_ISOCHRONOUS } |
| USB endpoint types. More... | |
| enum | usb_ep_dir_t { USB_EP_DIR_OUT , USB_EP_DIR_IN } |
| USB endpoint directions. More... | |
| #define | USB_H_USER_IS_RIOT_INTERNAL |
| RIOT-internal USB peripheral clearance indicator. More... | |