Prusa MINI Firmware overview
|
Go to the source code of this file.
Classes | |
struct | __attribute__ |
struct | __attribute__ |
struct | __attribute__ |
struct | __attribute__ |
struct | __attribute__ |
struct | __attribute__ |
#define DEV_DESCR_LEN 18 |
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Circuits At Home, LTD Web : http://www.circuitsathome.com e-mail : suppo rt@c ircui tsat home. com
#define CONF_DESCR_LEN 9 |
#define INTR_DESCR_LEN 9 |
#define EP_DESCR_LEN 7 |
#define USB_REQUEST_GET_STATUS 0 |
#define USB_REQUEST_CLEAR_FEATURE 1 |
#define USB_REQUEST_SET_FEATURE 3 |
#define USB_REQUEST_SET_ADDRESS 5 |
#define USB_REQUEST_GET_DESCRIPTOR 6 |
#define USB_REQUEST_SET_DESCRIPTOR 7 |
#define USB_REQUEST_GET_CONFIGURATION 8 |
#define USB_REQUEST_SET_CONFIGURATION 9 |
#define USB_REQUEST_GET_INTERFACE 10 |
#define USB_REQUEST_SET_INTERFACE 11 |
#define USB_REQUEST_SYNCH_FRAME 12 |
#define USB_FEATURE_ENDPOINT_HALT 0 |
#define USB_FEATURE_DEVICE_REMOTE_WAKEUP 1 |
#define USB_FEATURE_TEST_MODE 2 |
#define USB_SETUP_HOST_TO_DEVICE 0x00 |
#define USB_SETUP_DEVICE_TO_HOST 0x80 |
#define USB_SETUP_TYPE_STANDARD 0x00 |
#define USB_SETUP_TYPE_CLASS 0x20 |
#define USB_SETUP_TYPE_VENDOR 0x40 |
#define USB_SETUP_RECIPIENT_DEVICE 0x00 |
#define USB_SETUP_RECIPIENT_INTERFACE 0x01 |
#define USB_SETUP_RECIPIENT_ENDPOINT 0x02 |
#define USB_SETUP_RECIPIENT_OTHER 0x03 |
#define USB_DESCRIPTOR_DEVICE 0x01 |
#define USB_DESCRIPTOR_CONFIGURATION 0x02 |
#define USB_DESCRIPTOR_STRING 0x03 |
#define USB_DESCRIPTOR_INTERFACE 0x04 |
#define USB_DESCRIPTOR_ENDPOINT 0x05 |
#define USB_DESCRIPTOR_DEVICE_QUALIFIER 0x06 |
#define USB_DESCRIPTOR_OTHER_SPEED 0x07 |
#define USB_DESCRIPTOR_INTERFACE_POWER 0x08 |
#define USB_DESCRIPTOR_OTG 0x09 |
#define HID_DESCRIPTOR_HID 0x21 |
#define OTG_FEATURE_B_HNP_ENABLE 3 |
#define OTG_FEATURE_A_HNP_SUPPORT 4 |
#define OTG_FEATURE_A_ALT_HNP_SUPPORT 5 |
#define USB_TRANSFER_TYPE_CONTROL 0x00 |
#define USB_TRANSFER_TYPE_ISOCHRONOUS 0x01 |
#define USB_TRANSFER_TYPE_BULK 0x02 |
#define USB_TRANSFER_TYPE_INTERRUPT 0x03 |
#define bmUSB_TRANSFER_TYPE 0x03 |
#define USB_FEATURE_ENDPOINT_STALL 0 |
#define USB_FEATURE_DEVICE_REMOTE_WAKEUP 1 |
#define USB_FEATURE_TEST_MODE 2 |