1 /* 2 NatFeat USB Host chip emulator 3 4 ARAnyM (C) 2011-2014 David Gálvez 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2 of the License, or 9 (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 */ 20 21 #ifndef _USBHOST_NFAPI_H 22 #define _USBHOST_NFAPI_H 23 24 /* if you change anything in the enum {} below you have to increase 25 this ARAUSBHOST_NFAPI_VERSION! 26 */ 27 #define USBHOST_NFAPI_VERSION 0x00000003 28 29 enum { 30 GET_VERSION = 0, /* no parameters, return NFAPI_VERSION in d0 */ 31 USBHOST_INTLEVEL, 32 USBHOST_RH_PORT_STATUS, 33 USBHOST_LOWLEVEL_INIT, 34 USBHOST_LOWLEVEL_STOP, 35 USBHOST_SUBMIT_CONTROL_MSG, 36 USBHOST_SUBMIT_INT_MSG, 37 USBHOST_SUBMIT_BULK_MSG 38 }; 39 40 #define USBHOST(a) (nfUsbHostID + a) 41 42 #endif /* _USBHOST_NFAPI_H */ 43