QlightRead Project
|
#include <avr/pgmspace.h>
#include <LUFA/Drivers/USB/USB.h>
Go to the source code of this file.
Data Structures | |
struct | USB_Descriptor_Configuration_t |
Defines | |
#define | DATAINEP 3 |
#define | DATAOUTEP 4 |
#define | DATAINSIZE 16 |
#define | DATAOUTSIZE 16 |
Functions | |
uint16_t | CALLBACK_USB_GetDescriptor (const uint16_t wValue, const uint8_t wIndex, const void **const DescriptorAddress) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3) |
CALLBACK_USB_GetDescriptor() Callback Function for the USB Descriptors. |
#define DATAINEP 3 |
Endpoint number of the data IN Endpoint.
Definition at line 52 of file Descriptors.h.
#define DATAINSIZE 16 |
Size in bytes of the data IN and OUT endpoints.
Definition at line 58 of file Descriptors.h.
#define DATAOUTEP 4 |
Endpoint number data OUT endpoint.
Definition at line 55 of file Descriptors.h.
#define DATAOUTSIZE 16 |
Definition at line 59 of file Descriptors.h.
uint16_t CALLBACK_USB_GetDescriptor | ( | const uint16_t | wValue, |
const uint8_t | wIndex, | ||
const void **const | DescriptorAddress | ||
) |
CALLBACK_USB_GetDescriptor() Callback Function for the USB Descriptors.
const | uint16_t wValue ... |
const | uint8_t wValue ... |
const | void** const DescriptorAddress ... |
Returns | the Size of the Descriptor |
Definition at line 171 of file Descriptors.c.