MG32F10x Standard Peripherals Firmware Library

USB_Mass_Storage_SRAM/usbd_msc_scsi.h
1 /* Define to prevent recursive inclusion -------------------------------------*/
2 #ifndef __USBD_MSC_SCSI_H
3 #define __USBD_MSC_SCSI_H
4
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8
9 /* Includes ------------------------------------------------------------------*/
10 #include <stdint.h>
11 #include "usbd_msc.h"
12
13 /* Exported types ------------------------------------------------------------*/
14 /* Exported constants --------------------------------------------------------*/
15 /* Exported macro ------------------------------------------------------------*/
16 /* Exported functions --------------------------------------------------------*/
17
18 void USBD_MSC_SCSI_SenseDataUpdate(uint8_t lun, uint8_t SenseKey, uint8_t ASC);
19
20 void USBD_MSC_SCSI_TestUnitReady(usbd_msc_t* msc);
21 void USBD_MSC_SCSI_RequestSense(usbd_msc_t* msc);
22 void USBD_MSC_SCSI_Inquiry(usbd_msc_t* msc);
23 void USBD_MSC_SCSI_ReadFormatCapacities(usbd_msc_t* msc);
24 void USBD_MSC_SCSI_ReadCapacity10(usbd_msc_t* msc);
25 void USBD_MSC_SCSI_Read10(usbd_msc_t* msc);
26 void USBD_MSC_SCSI_Write10(usbd_msc_t* msc);
27 void USBD_MSC_SCSI_ProcessWrite(usbd_msc_t* msc, const uint8_t* buf, uint32_t len);
28
29 #ifdef __cplusplus
30 }
31 #endif
32
33 #endif /* __USBD_MSC_SCSI_H */
usbd_msc_t
Definition: USB_Mass_Storage_SPI_FLASH/usbd_msc.h:16