Classes | Macros
Référence du fichier adk.h
#include <stdint.h>
#include "Usb.h"
#include "hid.h"
#include "Arduino.h"

Classes

class  ADK
 

Macros

#define ADK_VID   0x04E8
 
#define ADK_PID   0x685C
 
#define ADB_PID   0x685D
 
#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
 

Documentation des macros

◆ ACCESSORY_STRING_DESCRIPTION

#define ACCESSORY_STRING_DESCRIPTION   2

◆ ACCESSORY_STRING_MANUFACTURER

#define ACCESSORY_STRING_MANUFACTURER   0

◆ ACCESSORY_STRING_MODEL

#define ACCESSORY_STRING_MODEL   1

◆ ACCESSORY_STRING_SERIAL

#define ACCESSORY_STRING_SERIAL   5

◆ ACCESSORY_STRING_URI

#define ACCESSORY_STRING_URI   4

◆ ACCESSORY_STRING_VERSION

#define ACCESSORY_STRING_VERSION   3

◆ ADB_PID

#define ADB_PID   0x685D

◆ ADK_ACCSTART

#define ADK_ACCSTART   53

◆ ADK_GETPROTO

#define ADK_GETPROTO   51

◆ ADK_MAX_ENDPOINTS

#define ADK_MAX_ENDPOINTS   3

◆ ADK_PID

#define ADK_PID   0x685C

◆ ADK_SENDSTR

#define ADK_SENDSTR   52

◆ ADK_VID

#define ADK_VID   0x04E8

◆ bmREQ_ADK_GET

#define bmREQ_ADK_GET   USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_VENDOR|USB_SETUP_RECIPIENT_DEVICE

◆ bmREQ_ADK_SEND

#define bmREQ_ADK_SEND   USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_VENDOR|USB_SETUP_RECIPIENT_DEVICE

◆ XOOM

#define XOOM