#include <adk.h>
|
| ADK (USB *pUsb, const char *manufacturer, const char *model, const char *description, const char *version, const char *uri, const char *serial) |
|
uint8_t | RcvData (uint16_t *nbytesptr, uint8_t *dataptr) |
|
uint8_t | SndData (uint16_t nbytes, uint8_t *dataptr) |
|
uint8_t | ConfigureDevice (uint8_t parent, uint8_t port, bool lowspeed) |
|
uint8_t | Init (uint8_t parent, uint8_t port, bool lowspeed) |
|
uint8_t | Release () |
|
virtual uint8_t | Poll () |
|
virtual uint8_t | GetAddress () |
|
virtual bool | isReady () |
|
virtual bool | VIDPIDOK (uint16_t vid, uint16_t pid) |
|
void | EndpointXtract (uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep) |
|
virtual void | ResetHubPort (uint8_t port) |
|
virtual bool | DEVCLASSOK (uint8_t klass) |
|
virtual bool | DEVSUBCLASSOK (uint8_t subklass) |
|
Definition at line 53 of file adk.h.
◆ ADK()
ADK::ADK |
( |
USB * |
pUsb, |
|
|
const char * |
manufacturer, |
|
|
const char * |
model, |
|
|
const char * |
description, |
|
|
const char * |
version, |
|
|
const char * |
uri, |
|
|
const char * |
serial |
|
) |
| |
◆ PrintEndpointDescriptor()
◆ RcvData()
uint8_t ADK::RcvData |
( |
uint16_t * |
nbytesptr, |
|
|
uint8_t * |
dataptr |
|
) |
| |
◆ SndData()
uint8_t ADK::SndData |
( |
uint16_t |
nbytes, |
|
|
uint8_t * |
dataptr |
|
) |
| |
◆ ConfigureDevice()
uint8_t ADK::ConfigureDevice |
( |
uint8_t |
parent, |
|
|
uint8_t |
port, |
|
|
bool |
lowspeed |
|
) |
| |
|
virtual |
◆ Init()
uint8_t ADK::Init |
( |
uint8_t |
parent, |
|
|
uint8_t |
port, |
|
|
bool |
lowspeed |
|
) |
| |
|
virtual |
◆ Release()
◆ Poll()
virtual uint8_t ADK::Poll |
( |
| ) |
|
|
inlinevirtual |
◆ GetAddress()
virtual uint8_t ADK::GetAddress |
( |
| ) |
|
|
inlinevirtual |
◆ isReady()
virtual bool ADK::isReady |
( |
| ) |
|
|
inlinevirtual |
◆ VIDPIDOK()
virtual bool ADK::VIDPIDOK |
( |
uint16_t |
vid, |
|
|
uint16_t |
pid |
|
) |
| |
|
inlinevirtual |
◆ EndpointXtract()
void ADK::EndpointXtract |
( |
uint8_t |
conf, |
|
|
uint8_t |
iface, |
|
|
uint8_t |
alt, |
|
|
uint8_t |
proto, |
|
|
const USB_ENDPOINT_DESCRIPTOR * |
ep |
|
) |
| |
|
virtual |
◆ epDataInIndex
const uint8_t ADK::epDataInIndex = 1 |
|
staticprotected |
Definition at line 69 of file adk.h.
◆ epDataOutIndex
const uint8_t ADK::epDataOutIndex = 2 |
|
staticprotected |
Definition at line 70 of file adk.h.
◆ pUsb
Definition at line 73 of file adk.h.
◆ bAddress
Definition at line 74 of file adk.h.
◆ bConfNum
Definition at line 75 of file adk.h.
◆ bNumEP
Definition at line 77 of file adk.h.
◆ ready
Definition at line 78 of file adk.h.
◆ epInfo
Definition at line 81 of file adk.h.
The documentation for this class was generated from the following files: