USB_Host_Shield_2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Macros
adk.h File Reference
#include <inttypes.h>
#include <avr/pgmspace.h>
#include "avrpins.h"
#include "max3421e.h"
#include "usbhost.h"
#include "usb_ch9.h"
#include "Usb.h"
#include <WProgram.h>
#include "printhex.h"
#include "hexdump.h"
#include "message.h"
#include "confdescparser.h"
Include dependency graph for adk.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ADK
 

Macros

#define ADK_VID   0x18D1
 
#define ADK_PID   0x2D00
 
#define ADB_PID   0x2D01
 
#define XOOM
 
#define ADK_GETPROTO   51
 
#define ADK_SENDSTR   52
 
#define ADK_ACCSTART   53
 
#define bmREQ_ADK_GET   USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_VENDOR|USB_SETUP_RECIPIENT_DEVICE
 
#define bmREQ_ADK_SEND   USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_VENDOR|USB_SETUP_RECIPIENT_DEVICE
 
#define ACCESSORY_STRING_MANUFACTURER   0
 
#define ACCESSORY_STRING_MODEL   1
 
#define ACCESSORY_STRING_DESCRIPTION   2
 
#define ACCESSORY_STRING_VERSION   3
 
#define ACCESSORY_STRING_URI   4
 
#define ACCESSORY_STRING_SERIAL   5
 
#define ADK_MAX_ENDPOINTS   3
 

Macro Definition Documentation

#define ACCESSORY_STRING_DESCRIPTION   2
#define ACCESSORY_STRING_MANUFACTURER   0
#define ACCESSORY_STRING_MODEL   1
#define ACCESSORY_STRING_SERIAL   5
#define ACCESSORY_STRING_URI   4
#define ACCESSORY_STRING_VERSION   3
#define ADB_PID   0x2D01
#define ADK_ACCSTART   53
#define ADK_GETPROTO   51
#define ADK_MAX_ENDPOINTS   3
#define ADK_PID   0x2D00
#define ADK_SENDSTR   52
#define ADK_VID   0x18D1
#define XOOM