QlightRead Project  1.23

/home/ron/Desktop/Downloads/project/QlightRead_hw/Descriptors.h File Reference

#include <avr/pgmspace.h>
#include <LUFA/Drivers/USB/USB.h>
Include dependency graph for Descriptors.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#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.


Function Documentation

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.

Parameters:
constuint16_t wValue ...
constuint8_t wValue ...
constvoid** const DescriptorAddress ...
Returns:
uint16_t
Return values:
Returnsthe Size of the Descriptor

Definition at line 171 of file Descriptors.c.

 All Data Structures Files Functions Variables Defines