USB-BDI
|
00001 /* USB-BDI Used for programming and debugging a MPC555 over USB 00002 * 00003 * Copyright 2005 NTB Interstate University of Applied Sciences of Technology Buchs 00004 * 00005 * This program is free software: you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation, either version 3 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 */ 00025 #ifndef USB_CLASS_REQUESTS 00026 #define USB_CLASS_REQUESTS 00027 00029 #define VCP_COM_INTERFACE_NR 0x1 00030 00031 #define VCP_BULK_INTERFACE_NR 0x2 00032 00033 #define BDI_INTERFACE_NR 0x0 00034 00036 #define SEND_ENCAPSULATED_COMMAND 0x00 00037 00038 #define GET_ENCAPSULATED_RESPONSE 0x01 00039 00040 #define SET_LINE_CODING 0x20 00041 00042 #define GET_LINE_CODING 0x21 00043 00044 #define SET_CONTROL_LINE_STATE 0x22 00045 00046 #define SEND_BREAK 0x23 00047 00048 #define SET_COMM_FEATURE 0x02 00049 00050 #define GET_COMM_FEATURE 0x03 00051 00052 #define CLEAR_COMM_FEATURE 0x04 00053 00054 void classRequest(); 00055 00056 #endif /*USB_CLASS_REQUESTS*/