Skip to content

Group USBD_CONF_Exported_Defines

Modules > USBD_CONF_Exported_Defines

Defines for configuration of the Usb device.

Macros

Type Name
define DEVICE_FS 0
define DEVICE_HS 1
define USBD_DEBUG_LEVEL 3U
define USBD_LPM_ENABLED 0U
define USBD_MAX_NUM_CONFIGURATION 1U
define USBD_MAX_NUM_INTERFACES 1U
define USBD_MAX_STR_DESC_SIZ 512U
define USBD_SELF_POWERED 1U
define USBD_SUPPORT_USER_STRING 1U

Macro Definition Documentation

define DEVICE_FS

#define DEVICE_FS `0`

FS and HS identification


define DEVICE_HS

#define DEVICE_HS `1`

&


define USBD_DEBUG_LEVEL

#define USBD_DEBUG_LEVEL `3U`

&


define USBD_LPM_ENABLED

#define USBD_LPM_ENABLED `0U`

&


define USBD_MAX_NUM_CONFIGURATION

#define USBD_MAX_NUM_CONFIGURATION `1U`

&


define USBD_MAX_NUM_INTERFACES

#define USBD_MAX_NUM_INTERFACES `1U`

&


define USBD_MAX_STR_DESC_SIZ

#define USBD_MAX_STR_DESC_SIZ `512U`

&


define USBD_SELF_POWERED

#define USBD_SELF_POWERED `1U`

&


define USBD_SUPPORT_USER_STRING

#define USBD_SUPPORT_USER_STRING `1U`

&