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

Definition at line 62 of file adk.h.

#define ACCESSORY_STRING_MANUFACTURER   0

Definition at line 60 of file adk.h.

#define ACCESSORY_STRING_MODEL   1

Definition at line 61 of file adk.h.

#define ACCESSORY_STRING_SERIAL   5

Definition at line 65 of file adk.h.

#define ACCESSORY_STRING_URI   4

Definition at line 64 of file adk.h.

#define ACCESSORY_STRING_VERSION   3

Definition at line 63 of file adk.h.

#define ADB_PID   0x2D01

Definition at line 45 of file adk.h.

#define ADK_ACCSTART   53

Definition at line 55 of file adk.h.

#define ADK_GETPROTO   51

Definition at line 53 of file adk.h.

#define ADK_MAX_ENDPOINTS   3

Definition at line 67 of file adk.h.

#define ADK_PID   0x2D00

Definition at line 44 of file adk.h.

#define ADK_SENDSTR   52

Definition at line 54 of file adk.h.

#define ADK_VID   0x18D1

Definition at line 43 of file adk.h.

Definition at line 57 of file adk.h.

Definition at line 58 of file adk.h.

#define XOOM

Definition at line 47 of file adk.h.