11 #include "../sd/FatFs/diskio.h" 19 0x00, 0x80, 0x02, 0x02,
22 'R',
'E',
'V',
'O',
' ',
'@',
'N',
'G',
23 'S',
'D',
' ',
'C',
'a',
'r',
'd',
' ',
24 'R',
'e',
'a',
'd',
'e',
'r',
' ',
' ',
84 *(uint32_t *)(0xE000ED10) &= 0xFFFFFFF9 ;
88 EXTI_ClearITPendingBit(EXTI_Line18);
void OTG_FS_WKUP_IRQHandler(void)
const USBD_STORAGE_cb_TypeDef STORAGE_fops
int8_t STORAGE_GetCapacity(uint8_t lun, uint32_t *block_num, uint32_t *block_size)
int8_t STORAGE_Init(uint8_t lun)
USB_OTG_CORE_HANDLE USB_OTG_dev
uint16_t usb_mass_mal_get_status(uint8_t lun)
int8_t STORAGE_Write(uint8_t lun, uint8_t *buf, uint32_t blk_addr, uint16_t blk_len)
#define USBD_STD_INQUIRY_LENGTH
void USB_OTG_UngateClock(USB_OTG_CORE_HANDLE *pdev)
USB_OTG_UngateClock : active USB Core clock.
const USBD_STORAGE_cb_TypeDef *const USBD_STORAGE_fops
uint32_t MAL_massBlockCount[STORAGE_LUN_NBR]
int8_t STORAGE_IsReady(uint8_t lun)
int8_t STORAGE_Read(uint8_t lun, uint8_t *buf, uint32_t blk_addr, uint16_t blk_len)
int8_t usb_mass_mal_write_memory(uint8_t lun, uint8_t *writebuff, uint32_t memoryOffset, uint16_t transferLength)
const int8_t STORAGE_Inquirydata[]
uint32_t MAL_massBlockSize[STORAGE_LUN_NBR]
int8_t STORAGE_GetMaxLun(void)
void systemInit(uint8_t oc)
Setup the microcontroller system Initialize the Embedded Flash Interface, the PLL and update the Syst...
int8_t usb_mass_mal_read_memory(uint8_t lun, uint8_t *readbuff, uint32_t memoryOffset, uint16_t transferLength)
int8_t STORAGE_IsWriteProtected(uint8_t lun)