Skip to content

Group USBH_CONF_Exported_Defines

Modules > USBH_CONF_Exported_Defines

Defines for configuration of the Usb host.

Macros

Type Name
define HOST_FS 1
define HOST_HS 0
define USBH_DEBUG_LEVEL 0U
define USBH_KEEP_CFG_DESCRIPTOR 1U
define USBH_MAX_DATA_BUFFER 512U
define USBH_MAX_NUM_CONFIGURATION 1U
define USBH_MAX_NUM_ENDPOINTS 2U
define USBH_MAX_NUM_INTERFACES 2U
define USBH_MAX_NUM_SUPPORTED_CLASS 2U
define USBH_MAX_SIZE_CONFIGURATION 256U
define USBH_USE_OS 0U

Macro Definition Documentation

define HOST_FS

#define HOST_FS `1`

define HOST_HS

#define HOST_HS `0`

define USBH_DEBUG_LEVEL

#define USBH_DEBUG_LEVEL `0U`

define USBH_KEEP_CFG_DESCRIPTOR

#define USBH_KEEP_CFG_DESCRIPTOR `1U`

define USBH_MAX_DATA_BUFFER

#define USBH_MAX_DATA_BUFFER `512U`

define USBH_MAX_NUM_CONFIGURATION

#define USBH_MAX_NUM_CONFIGURATION `1U`

define USBH_MAX_NUM_ENDPOINTS

#define USBH_MAX_NUM_ENDPOINTS `2U`

define USBH_MAX_NUM_INTERFACES

#define USBH_MAX_NUM_INTERFACES `2U`

define USBH_MAX_NUM_SUPPORTED_CLASS

#define USBH_MAX_NUM_SUPPORTED_CLASS `2U`

define USBH_MAX_SIZE_CONFIGURATION

#define USBH_MAX_SIZE_CONFIGURATION `256U`

define USBH_USE_OS

#define USBH_USE_OS `0U`