Prusa MINI Firmware overview
USBH_LIB_CORE
Collaboration diagram for USBH_LIB_CORE:

Modules

 USBH_CORE
 This file is the Header file for usbh_core.c.
 
 USBH_CORE_Exported_Macros
 
 USBH_CORE_Exported_Variables
 
 USBH_CORE_Exported_FunctionsPrototype
 
 USBH_CTLREQ
 This file is the.
 
 USBH_DEF
 This file is includes USB descriptors.
 
 USBH_CORE_Exported_Types
 
 USBH_IOREQ
 This file is the header file for usbh_ioreq.c.
 
 USBH_PIPES
 This file is the header file for usbh_pipes.c.
 

Classes

union  uint16_t_uint8_t
 
union  _USB_Setup
 
struct  _DescHeader
 
struct  _DeviceDescriptor
 
struct  _EndpointDescriptor
 
struct  _InterfaceDescriptor
 
struct  _ConfigurationDescriptor
 

Macros

#define USBH_CONFIGURATION_DESCRIPTOR_SIZE
 
#define CONFIG_DESC_wTOTAL_LENGTH
 

Typedefs

typedef union _USB_Setup USB_Setup_TypeDef
 
typedef struct _DescHeader USBH_DescHeader_t
 
typedef struct _DeviceDescriptor USBH_DevDescTypeDef
 
typedef struct _EndpointDescriptor USBH_EpDescTypeDef
 
typedef struct _InterfaceDescriptor USBH_InterfaceDescTypeDef
 
typedef struct _ConfigurationDescriptor USBH_CfgDescTypeDef
 

Enumerations

enum  USBH_StatusTypeDef {
  USBH_OK = 0, USBH_BUSY, USBH_FAIL, USBH_NOT_SUPPORTED,
  USBH_UNRECOVERED_ERROR, USBH_ERROR_SPEED_UNKNOWN
}
 

Detailed Description

Macro Definition Documentation

◆ USBH_CONFIGURATION_DESCRIPTOR_SIZE

#define USBH_CONFIGURATION_DESCRIPTOR_SIZE

◆ CONFIG_DESC_wTOTAL_LENGTH

#define CONFIG_DESC_wTOTAL_LENGTH
Value:
(ConfigurationDescriptorData.ConfigDescfield.\ ConfigurationDescriptor.wTotalLength)

Typedef Documentation

◆ USB_Setup_TypeDef

◆ USBH_DescHeader_t

◆ USBH_DevDescTypeDef

◆ USBH_EpDescTypeDef

◆ USBH_InterfaceDescTypeDef

◆ USBH_CfgDescTypeDef

Enumeration Type Documentation

◆ USBH_StatusTypeDef

Enumerator
USBH_OK 
USBH_BUSY 
USBH_FAIL 
USBH_NOT_SUPPORTED 
USBH_UNRECOVERED_ERROR 
USBH_ERROR_SPEED_UNKNOWN 
USBH_UNRECOVERED_ERROR
Definition: usbh_def.h:308
USB_INTERFACE_DESC_SIZE
#define USB_INTERFACE_DESC_SIZE
Definition: usbh_def.h:153
USB_CONFIGURATION_DESC_SIZE
#define USB_CONFIGURATION_DESC_SIZE
Definition: usbh_def.h:151
USBH_ERROR_SPEED_UNKNOWN
Definition: usbh_def.h:309
USBH_OK
Definition: usbh_def.h:304
USB_ENDPOINT_DESC_SIZE
#define USB_ENDPOINT_DESC_SIZE
Definition: usbh_def.h:154
USBH_MAX_NUM_ENDPOINTS
#define USBH_MAX_NUM_ENDPOINTS
Definition: usbh_conf.h:99
USBH_StatusTypeDef
USBH_StatusTypeDef
Definition: usbh_def.h:302
USBH_FAIL
Definition: usbh_def.h:306
USBH_BUSY
Definition: usbh_def.h:305
USBH_NOT_SUPPORTED
Definition: usbh_def.h:307