Prusa MINI Firmware overview

#include <usbd_def.h>

Collaboration diagram for _Device_cb:

Public Attributes

uint8_t(* Init )(struct _USBD_HandleTypeDef *pdev, uint8_t cfgidx)
 
uint8_t(* DeInit )(struct _USBD_HandleTypeDef *pdev, uint8_t cfgidx)
 
uint8_t(* Setup )(struct _USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
 
uint8_t(* EP0_TxSent )(struct _USBD_HandleTypeDef *pdev)
 
uint8_t(* EP0_RxReady )(struct _USBD_HandleTypeDef *pdev)
 
uint8_t(* DataIn )(struct _USBD_HandleTypeDef *pdev, uint8_t epnum)
 
uint8_t(* DataOut )(struct _USBD_HandleTypeDef *pdev, uint8_t epnum)
 
uint8_t(* SOF )(struct _USBD_HandleTypeDef *pdev)
 
uint8_t(* IsoINIncomplete )(struct _USBD_HandleTypeDef *pdev, uint8_t epnum)
 
uint8_t(* IsoOUTIncomplete )(struct _USBD_HandleTypeDef *pdev, uint8_t epnum)
 
uint8_t *(* GetHSConfigDescriptor )(uint16_t *length)
 
uint8_t *(* GetFSConfigDescriptor )(uint16_t *length)
 
uint8_t *(* GetOtherSpeedConfigDescriptor )(uint16_t *length)
 
uint8_t *(* GetDeviceQualifierDescriptor )(uint16_t *length)
 

Member Data Documentation

◆ Init

uint8_t(* _Device_cb::Init) (struct _USBD_HandleTypeDef *pdev, uint8_t cfgidx)

◆ DeInit

uint8_t(* _Device_cb::DeInit) (struct _USBD_HandleTypeDef *pdev, uint8_t cfgidx)

◆ Setup

uint8_t(* _Device_cb::Setup) (struct _USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)

◆ EP0_TxSent

uint8_t(* _Device_cb::EP0_TxSent) (struct _USBD_HandleTypeDef *pdev)

◆ EP0_RxReady

uint8_t(* _Device_cb::EP0_RxReady) (struct _USBD_HandleTypeDef *pdev)

◆ DataIn

uint8_t(* _Device_cb::DataIn) (struct _USBD_HandleTypeDef *pdev, uint8_t epnum)

◆ DataOut

uint8_t(* _Device_cb::DataOut) (struct _USBD_HandleTypeDef *pdev, uint8_t epnum)

◆ SOF

uint8_t(* _Device_cb::SOF) (struct _USBD_HandleTypeDef *pdev)

◆ IsoINIncomplete

uint8_t(* _Device_cb::IsoINIncomplete) (struct _USBD_HandleTypeDef *pdev, uint8_t epnum)

◆ IsoOUTIncomplete

uint8_t(* _Device_cb::IsoOUTIncomplete) (struct _USBD_HandleTypeDef *pdev, uint8_t epnum)

◆ GetHSConfigDescriptor

uint8_t*(* _Device_cb::GetHSConfigDescriptor) (uint16_t *length)

◆ GetFSConfigDescriptor

uint8_t*(* _Device_cb::GetFSConfigDescriptor) (uint16_t *length)

◆ GetOtherSpeedConfigDescriptor

uint8_t*(* _Device_cb::GetOtherSpeedConfigDescriptor) (uint16_t *length)

◆ GetDeviceQualifierDescriptor

uint8_t*(* _Device_cb::GetDeviceQualifierDescriptor) (uint16_t *length)