keil_examples/USBMem/mscuser.c
/*
 *  MSC SCSI Inquiry Callback
 *    Parameters:      None (global variables)
 *    Return Value:    None
 */
MSC SCSI Inquiry Callback
Parameters:      None (global variables)
Return Value:    None
MSC SCSI Inquiry Callback Parameters : None ( global variables ) Return Value : None
void MSC_Inquiry (void) {
  if (!DataInFormat()) return;
  BulkBuf[ 0] = 0x00;                      
  BulkBuf[ 1] = 0x80;                      
  BulkBuf[ 2] = 0x00;                      
  BulkBuf[ 3] = 0x01;
  BulkBuf[ 4] = 36-4;                      
  BulkBuf[ 5] = 0x80;                      
  BulkBuf[ 6] = 0x00;
  BulkBuf[ 7] = 0x00;
  BulkBuf[ 8] = 'K';                       
  BulkBuf[ 9] = 'e';
  BulkBuf[10] = 'i';
  BulkBuf[11] = 'l';
  BulkBuf[12] = ' ';
  BulkBuf[13] = ' ';
  BulkBuf[14] = ' ';
  BulkBuf[15] = ' ';
  BulkBuf[16] = 'L';                       
  BulkBuf[17] = 'P';
  BulkBuf[18] = 'C';
  BulkBuf[19] = '1';
  BulkBuf[20] = '7';
  BulkBuf[21] = 'x';
  BulkBuf[22] = 'x';
  BulkBuf[23] = ' ';
  BulkBuf[24] = 'D';
  BulkBuf[25] = 'i';
  BulkBuf[26] = 's';
  BulkBuf[27] = 'k';
  BulkBuf[28] = ' ';
  BulkBuf[29] = ' ';
  BulkBuf[30] = ' ';
  BulkBuf[31] = ' ';
  BulkBuf[32] = '1';                       
  BulkBuf[33] = '.';
  BulkBuf[34] = '0';
  BulkBuf[35] = ' ';
  BulkLen = 36;
  DataInTransfer();
}
void MSC_Inquiry ( void ) { if ( ! DataInFormat ( ) ) return ; BulkBuf [ 0 ] = 0x00 ; BulkBuf [ 1 ] = 0x80 ; BulkBuf [ 2 ] = 0x00 ; BulkBuf [ 3 ] = 0x01 ; BulkBuf [ 4 ] = 36 - 4 ; BulkBuf [ 5 ] = 0x80 ; BulkBuf [ 6 ] = 0x00 ; BulkBuf [ 7 ] = 0x00 ; BulkBuf [ 8 ] = ' ' ; BulkBuf [ 9 ] = ' ' ; BulkBuf [ 10 ] = ' ' ; BulkBuf [ 11 ] = ' ' ; BulkBuf [ 12 ] = ' ' ; BulkBuf [ 13 ] = ' ' ; BulkBuf [ 14 ] = ' ' ; BulkBuf [ 15 ] = ' ' ; BulkBuf [ 16 ] = ' ' ; BulkBuf [ 17 ] = ' ' ; BulkBuf [ 18 ] = ' ' ; BulkBuf [ 19 ] = ' ' ; BulkBuf [ 20 ] = ' ' ; BulkBuf [ 21 ] = ' ' ; BulkBuf [ 22 ] = ' ' ; BulkBuf [ 23 ] = ' ' ; BulkBuf [ 24 ] = ' ' ; BulkBuf [ 25 ] = ' ' ; BulkBuf [ 26 ] = ' ' ; BulkBuf [ 27 ] = ' ' ; BulkBuf [ 28 ] = ' ' ; BulkBuf [ 29 ] = ' ' ; BulkBuf [ 30 ] = ' ' ; BulkBuf [ 31 ] = ' ' ; BulkBuf [ 32 ] = ' ' ; BulkBuf [ 33 ] = ' ' ; BulkBuf [ 34 ] = ' ' ; BulkBuf [ 35 ] = ' ' ; BulkLen = 36 ; DataInTransfer ( ) ; }
MSC SCSI Inquiry Callback
    Parameters:      None (global variables)
    Return Value:    None
MSC SCSI Inquiry Callback Parameters : None ( global variables ) Return Value : None
/* Direct Access Device */ /* RMB = 1: Removable Medium */ /* Version: No conformance claim to standard */ /* Additional Length */ /* SCCS = 1: Storage Controller Component */ /* Vendor Identification */ /* Product Identification */ /* Product Revision Level */