USB Host Shield 2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Macros
adk.h File Reference
#include "Usb.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 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 ADK_VID   0x18D1

Definition at line 25 of file adk.h.

#define ADK_PID   0x2D00

Definition at line 26 of file adk.h.

#define ADB_PID   0x2D01

Definition at line 27 of file adk.h.

#define ADK_GETPROTO   51

Definition at line 31 of file adk.h.

#define ADK_SENDSTR   52

Definition at line 32 of file adk.h.

#define ADK_ACCSTART   53

Definition at line 33 of file adk.h.

Definition at line 35 of file adk.h.

Definition at line 36 of file adk.h.

#define ACCESSORY_STRING_MANUFACTURER   0

Definition at line 38 of file adk.h.

#define ACCESSORY_STRING_MODEL   1

Definition at line 39 of file adk.h.

#define ACCESSORY_STRING_DESCRIPTION   2

Definition at line 40 of file adk.h.

#define ACCESSORY_STRING_VERSION   3

Definition at line 41 of file adk.h.

#define ACCESSORY_STRING_URI   4

Definition at line 42 of file adk.h.

#define ACCESSORY_STRING_SERIAL   5

Definition at line 43 of file adk.h.

#define ADK_MAX_ENDPOINTS   3

Definition at line 45 of file adk.h.