Prusa MINI Firmware overview
USBH_MSC_CORE_Exported_Types
Collaboration diagram for USBH_MSC_CORE_Exported_Types:

Classes

struct  MSC_LUNTypeDef
 
struct  _MSC_Process
 

Macros

#define MAX_SUPPORTED_LUN   2
 

Typedefs

typedef struct _MSC_Process MSC_HandleTypeDef
 

Enumerations

enum  MSC_StateTypeDef {
  MSC_INIT = 0, MSC_IDLE, MSC_TEST_UNIT_READY, MSC_READ_CAPACITY10,
  MSC_READ_INQUIRY, MSC_REQUEST_SENSE, MSC_READ, MSC_WRITE,
  MSC_UNRECOVERED_ERROR, MSC_PERIODIC_CHECK
}
 
enum  MSC_ErrorTypeDef { MSC_OK, MSC_NOT_READY, MSC_ERROR }
 
enum  MSC_ReqStateTypeDef { MSC_REQ_IDLE = 0, MSC_REQ_RESET, MSC_REQ_GET_MAX_LUN, MSC_REQ_ERROR }
 

Detailed Description

Macro Definition Documentation

◆ MAX_SUPPORTED_LUN

#define MAX_SUPPORTED_LUN   2

Typedef Documentation

◆ MSC_HandleTypeDef

Enumeration Type Documentation

◆ MSC_StateTypeDef

Enumerator
MSC_INIT 
MSC_IDLE 
MSC_TEST_UNIT_READY 
MSC_READ_CAPACITY10 
MSC_READ_INQUIRY 
MSC_REQUEST_SENSE 
MSC_READ 
MSC_WRITE 
MSC_UNRECOVERED_ERROR 
MSC_PERIODIC_CHECK 

◆ MSC_ErrorTypeDef

Enumerator
MSC_OK 
MSC_NOT_READY 
MSC_ERROR 
79 {
80  MSC_OK,
82  MSC_ERROR,
83 
84 }

◆ MSC_ReqStateTypeDef

Enumerator
MSC_REQ_IDLE 
MSC_REQ_RESET 
MSC_REQ_GET_MAX_LUN 
MSC_REQ_ERROR 
88 {
89  MSC_REQ_IDLE = 0,
93 }
MSC_REQ_GET_MAX_LUN
Definition: usbh_msc.h:91
MSC_NOT_READY
Definition: usbh_msc.h:81
MSC_REQ_ERROR
Definition: usbh_msc.h:92
MSC_TEST_UNIT_READY
Definition: usbh_msc.h:67
MSC_UNRECOVERED_ERROR
Definition: usbh_msc.h:73
MSC_WRITE
Definition: usbh_msc.h:72
MSC_REQ_RESET
Definition: usbh_msc.h:90
MSC_READ_CAPACITY10
Definition: usbh_msc.h:68
MSC_OK
Definition: usbh_msc.h:80
MSC_READ_INQUIRY
Definition: usbh_msc.h:69
MSC_REQUEST_SENSE
Definition: usbh_msc.h:70
MSC_PERIODIC_CHECK
Definition: usbh_msc.h:74
MSC_READ
Definition: usbh_msc.h:71
MSC_IDLE
Definition: usbh_msc.h:66
MSC_INIT
Definition: usbh_msc.h:65
MSC_REQ_IDLE
Definition: usbh_msc.h:89
MSC_ERROR
Definition: usbh_msc.h:82