LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
usbd_desc.h File Reference
#include "usbd.h"

Go to the source code of this file.

Macros

#define WBVAL(x)   ((x) & 0xFF),(((x) >> 8) & 0xFF)
 
#define B3VAL(x)   ((x) & 0xFF),(((x) >> 8) & 0xFF),(((x) >> 16) & 0xFF)
 
#define USB_DEVICE_DESC_SIZE   (sizeof(USB_DEVICE_DESCRIPTOR))
 
#define USB_CONFIGUARTION_DESC_SIZE   (sizeof(USB_CONFIGURATION_DESCRIPTOR))
 
#define USB_INTERFACE_DESC_SIZE   (sizeof(USB_INTERFACE_DESCRIPTOR))
 
#define USB_ENDPOINT_DESC_SIZE   (sizeof(USB_ENDPOINT_DESCRIPTOR))
 
#define USB_DEVICE_QUALI_SIZE   (sizeof(USB_DEVICE_QUALIFIER_DESCRIPTOR))
 
#define USB_OTHER_SPEED_CONF_SIZE   (sizeof(USB_OTHER_SPEED_CONFIGURATION))
 
#define HID_DESC_SIZE   (sizeof(HID_DESCRIPTOR))
 
#define HID_REPORT_DESC_SIZE   (sizeof(HID_ReportDescriptor))
 

Variables

const uint8_t HID_ReportDescriptor []
 
const uint16_t HID_ReportDescSize
 
const uint16_t HID_DescOffset
 

Macro Definition Documentation

#define B3VAL (   x)    ((x) & 0xFF),(((x) >> 8) & 0xFF),(((x) >> 16) & 0xFF)

Definition at line 31 of file usbd_desc.h.

#define HID_DESC_SIZE   (sizeof(HID_DESCRIPTOR))

Definition at line 40 of file usbd_desc.h.

#define HID_REPORT_DESC_SIZE   (sizeof(HID_ReportDescriptor))

Definition at line 41 of file usbd_desc.h.

#define USB_CONFIGUARTION_DESC_SIZE   (sizeof(USB_CONFIGURATION_DESCRIPTOR))

Definition at line 34 of file usbd_desc.h.

#define USB_DEVICE_DESC_SIZE   (sizeof(USB_DEVICE_DESCRIPTOR))

Definition at line 33 of file usbd_desc.h.

#define USB_DEVICE_QUALI_SIZE   (sizeof(USB_DEVICE_QUALIFIER_DESCRIPTOR))

Definition at line 37 of file usbd_desc.h.

#define USB_ENDPOINT_DESC_SIZE   (sizeof(USB_ENDPOINT_DESCRIPTOR))

Definition at line 36 of file usbd_desc.h.

#define USB_INTERFACE_DESC_SIZE   (sizeof(USB_INTERFACE_DESCRIPTOR))

Definition at line 35 of file usbd_desc.h.

#define USB_OTHER_SPEED_CONF_SIZE   (sizeof(USB_OTHER_SPEED_CONFIGURATION))

Definition at line 38 of file usbd_desc.h.

#define WBVAL (   x)    ((x) & 0xFF),(((x) >> 8) & 0xFF)

Definition at line 30 of file usbd_desc.h.

Variable Documentation

const uint16_t HID_DescOffset
const uint8_t HID_ReportDescriptor[]
const uint16_t HID_ReportDescSize