Prusa MINI Firmware overview
|
Go to the source code of this file.
Classes | |
struct | EpInfo |
struct | UsbDeviceAddress |
struct | UsbDevice |
class | AddressPool |
class | AddressPoolImpl< MAX_DEVICES_ALLOWED > |
Macros | |
#define | USB_NAK_MAX_POWER 15 |
#define | USB_NAK_DEFAULT 14 |
#define | USB_NAK_NOWAIT 1 |
#define | USB_NAK_NONAK 0 |
#define | bmUSB_DEV_ADDR_ADDRESS 0x07 |
#define | bmUSB_DEV_ADDR_PARENT 0x38 |
#define | bmUSB_DEV_ADDR_HUB 0x40 |
#define | ADDR_ERROR_INVALID_INDEX 0xFF |
#define | ADDR_ERROR_INVALID_ADDRESS 0xFF |
Typedefs | |
typedef void(* | UsbDeviceHandleFunc) (UsbDevice *pdev) |
Functions | |
struct EpInfo | __attribute__ ((packed)) |
#define USB_NAK_MAX_POWER 15 |
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 USB_NAK_DEFAULT 14 |
#define USB_NAK_NOWAIT 1 |
#define USB_NAK_NONAK 0 |
#define bmUSB_DEV_ADDR_ADDRESS 0x07 |
#define bmUSB_DEV_ADDR_PARENT 0x38 |
#define bmUSB_DEV_ADDR_HUB 0x40 |
#define ADDR_ERROR_INVALID_INDEX 0xFF |
#define ADDR_ERROR_INVALID_ADDRESS 0xFF |
struct EpInfo __attribute__ | ( | (packed) | ) |
uint8_t bmSndToggle |
uint8_t bmRcvToggle |
uint8_t bmNakPower |
uint8_t epAddr |
uint8_t maxPktSize |
uint8_t epAttribs |
class AddressPool __attribute__ |
uint8_t bmAddress |
uint8_t bmParent |
uint8_t bmHub |
uint8_t bmReserved |
uint8_t devAddress |
EpInfo* epinfo |
UsbDeviceAddress address |
uint8_t epcount |
bool lowspeed |