Prusa MINI Firmware overview
USBD_DEVICE_Exported_FunctionsPrototype

Declaration of public functions for Usb device. More...

Collaboration diagram for USBD_DEVICE_Exported_FunctionsPrototype:

Functions

void MX_USB_DEVICE_Init (void)
 

Detailed Description

Declaration of public functions for Usb device.

Function Documentation

◆ MX_USB_DEVICE_Init()

void MX_USB_DEVICE_Init ( void  )

USB Device initialization function.

Init USB device Library, add supported class and start the library

Return values
None
93  {
94  /* USER CODE BEGIN USB_DEVICE_Init_PreTreatment */
95 
96  /* USER CODE END USB_DEVICE_Init_PreTreatment */
97 
98  /* Init Device Library, add supported class and start the library. */
100 
102 
104 
106 
107  /* USER CODE BEGIN USB_DEVICE_Init_PostTreatment */
108 
109  /* USER CODE END USB_DEVICE_Init_PostTreatment */
110 }
Here is the call graph for this function:
Here is the caller graph for this function:
USBD_Start
USBD_StatusTypeDef USBD_Start(USBD_HandleTypeDef *pdev)
USBD_Start Start the USB Device Core.
Definition: usbd_core.c:181
USBD_RegisterClass
USBD_StatusTypeDef USBD_RegisterClass(USBD_HandleTypeDef *pdev, USBD_ClassTypeDef *pclass)
USBD_RegisterClass Link class driver to Device Core.
Definition: usbd_core.c:157
DEVICE_FS
#define DEVICE_FS
Definition: usbd_conf.h:111
USBD_CDC
USBD_ClassTypeDef USBD_CDC
Definition: usbd_cdc.c:159
USBD_Init
USBD_StatusTypeDef USBD_Init(USBD_HandleTypeDef *pdev, USBD_DescriptorsTypeDef *pdesc, uint8_t id)
USBD_Init Initializes the device stack and load the class driver.
Definition: usbd_core.c:96
FS_Desc
USBD_DescriptorsTypeDef FS_Desc
Definition: usbd_desc.c:160
USBD_Interface_fops_FS
USBD_CDC_ItfTypeDef USBD_Interface_fops_FS
Definition: usbd_cdc_if.c:174
USBD_CDC_RegisterInterface
uint8_t USBD_CDC_RegisterInterface(USBD_HandleTypeDef *pdev, USBD_CDC_ItfTypeDef *fops)
USBD_CDC_RegisterInterface.
Definition: usbd_cdc.c:790
hUsbDeviceFS
USBD_HandleTypeDef hUsbDeviceFS
Definition: usb_device.c:73