Prusa MINI Firmware overview
|
Functions | |
static USBH_StatusTypeDef | USBH_MSC_InterfaceInit (USBH_HandleTypeDef *phost) |
USBH_MSC_InterfaceInit The function init the MSC class. More... | |
static USBH_StatusTypeDef | USBH_MSC_InterfaceDeInit (USBH_HandleTypeDef *phost) |
USBH_MSC_InterfaceDeInit The function DeInit the Pipes used for the MSC class. More... | |
static USBH_StatusTypeDef | USBH_MSC_Process (USBH_HandleTypeDef *phost) |
USBH_MSC_Process The function is for managing state machine for MSC data transfers. More... | |
static USBH_StatusTypeDef | USBH_MSC_ClassRequest (USBH_HandleTypeDef *phost) |
USBH_MSC_ClassRequest The function is responsible for handling Standard requests for MSC class. More... | |
static USBH_StatusTypeDef | USBH_MSC_SOFProcess (USBH_HandleTypeDef *phost) |
USBH_MSC_SOFProcess The function is for SOF state. More... | |
static USBH_StatusTypeDef | USBH_MSC_RdWrProcess (USBH_HandleTypeDef *phost, uint8_t lun) |
USBH_MSC_RdWrProcess The function is for managing state machine for MSC I/O Process. More... | |
uint8_t | USBH_MSC_IsReady (USBH_HandleTypeDef *phost) |
USBH_MSC_IsReady The function check if the MSC function is ready. More... | |
int8_t | USBH_MSC_GetMaxLUN (USBH_HandleTypeDef *phost) |
USBH_MSC_GetMaxLUN The function return the Max LUN supported. More... | |
uint8_t | USBH_MSC_UnitIsReady (USBH_HandleTypeDef *phost, uint8_t lun) |
USBH_MSC_UnitIsReady The function check whether a LUN is ready. More... | |
USBH_StatusTypeDef | USBH_MSC_GetLUNInfo (USBH_HandleTypeDef *phost, uint8_t lun, MSC_LUNTypeDef *info) |
USBH_MSC_GetLUNInfo The function return a LUN information. More... | |
USBH_StatusTypeDef | USBH_MSC_Read (USBH_HandleTypeDef *phost, uint8_t lun, uint32_t address, uint8_t *pbuf, uint32_t length) |
USBH_MSC_Read The function performs a Read operation. More... | |
USBH_StatusTypeDef | USBH_MSC_Write (USBH_HandleTypeDef *phost, uint8_t lun, uint32_t address, uint8_t *pbuf, uint32_t length) |
USBH_MSC_Write The function performs a Write operation. More... | |
Variables | |
USBH_ClassTypeDef | USBH_msc |
This module manages the MSC class V1.0 following the "Universal Serial Bus Mass Storage Class (MSC) Bulk-Only Transport (BOT) Version 1.0 Sep. 31, 1999". This driver implements the following aspects of the specification:
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.