USB Host Shield 2.0
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 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

◆ ADK_VID

#define ADK_VID   0x18D1

Definition at line 25 of file adk.h.

◆ ADK_PID

#define ADK_PID   0x2D00

Definition at line 26 of file adk.h.

◆ ADB_PID

#define ADB_PID   0x2D01

Definition at line 27 of file adk.h.

◆ XOOM

#define XOOM

Definition at line 29 of file adk.h.

◆ ADK_GETPROTO

#define ADK_GETPROTO   51

Definition at line 35 of file adk.h.

◆ ADK_SENDSTR

#define ADK_SENDSTR   52

Definition at line 36 of file adk.h.

◆ ADK_ACCSTART

#define ADK_ACCSTART   53

Definition at line 37 of file adk.h.

◆ bmREQ_ADK_GET

Definition at line 39 of file adk.h.

◆ bmREQ_ADK_SEND

Definition at line 40 of file adk.h.

◆ ACCESSORY_STRING_MANUFACTURER

#define ACCESSORY_STRING_MANUFACTURER   0

Definition at line 42 of file adk.h.

◆ ACCESSORY_STRING_MODEL

#define ACCESSORY_STRING_MODEL   1

Definition at line 43 of file adk.h.

◆ ACCESSORY_STRING_DESCRIPTION

#define ACCESSORY_STRING_DESCRIPTION   2

Definition at line 44 of file adk.h.

◆ ACCESSORY_STRING_VERSION

#define ACCESSORY_STRING_VERSION   3

Definition at line 45 of file adk.h.

◆ ACCESSORY_STRING_URI

#define ACCESSORY_STRING_URI   4

Definition at line 46 of file adk.h.

◆ ACCESSORY_STRING_SERIAL

#define ACCESSORY_STRING_SERIAL   5

Definition at line 47 of file adk.h.

◆ ADK_MAX_ENDPOINTS

#define ADK_MAX_ENDPOINTS   3

Definition at line 49 of file adk.h.