keil_examples/USBMem/mscuser.c
/*
 *  MSC Mass Storage Reset Request Callback
 *   Called automatically on Mass Storage Reset Request
 *    Parameters:      None (global SetupPacket and EP0Buf)
 *    Return Value:    TRUE - Success, FALSE - Error
 */
MSC Mass Storage Reset Request Callback
Called automatically on Mass Storage Reset Request
Parameters:      None (global SetupPacket and EP0Buf)
Return Value:    TRUE - Success, FALSE - Error
MSC Mass Storage Reset Request Callback Called automatically on Mass Storage Reset Request Parameters : None ( global SetupPacket and EP0Buf ) Return Value : TRUE - Success FALSE - Error
uint32_t MSC_Reset (void) {
  USB_EndPointStall = 0x00000000;          
  CSW.dSignature = 0;                      
  BulkStage = MSC_BS_CBW;
  return (TRUE);
}
uint32_t MSC_Reset ( void ) { USB_EndPointStall = 0x00000000 ; CSW . dSignature = 0 ; BulkStage = MSC_BS_CBW ; return ( TRUE ) ; }
MSC Mass Storage Reset Request Callback
   Called automatically on Mass Storage Reset Request
    Parameters:      None (global SetupPacket and EP0Buf)
    Return Value:    TRUE - Success, FALSE - Error
MSC Mass Storage Reset Request Callback Called automatically on Mass Storage Reset Request Parameters : None ( global SetupPacket and EP0Buf ) Return Value : TRUE - Success FALSE - Error
/* EP must stay stalled */ /* invalid signature */