Embedded SDK
Embedded SDK
Macros | Functions
USBD_HID_Private_Variables
Collaboration diagram for USBD_HID_Private_Variables:

Macros

#define USBD_LANGID_STRING   0x409
 
#define USBD_VID   0x2C97
 
#define USBD_INTERFACE_FS_STRING   USBD_PRODUCT_FS_STRING
 
#define USBD_CONFIGURATION_FS_STRING   USBD_PRODUCT_FS_STRING
 
#define ARRAY_U2LE(l)   (l)&0xFF, (l)>>8
 
#define CFG_HDR_LEN   (0x9)
 
#define CFG_HIDGEN_LEN   (0x9+0x9+0x7+0x7)
 
#define CFG_IO_U2F_LEN   (0x9+0x9+0x7+0x7)
 
#define CFG_USB_CCID_LEN   (0x9+0x36+0x7+0x7)
 
#define CFG_WEBUSB_LEN   (0x9+0x7+0x7)
 

Functions

uint8_tUSBD_HID_GetHidDescriptor_impl (uint16_t *len)
 
uint8_tUSBD_HID_GetReportDescriptor_impl (uint16_t *len)
 

Detailed Description

Macro Definition Documentation

◆ ARRAY_U2LE

#define ARRAY_U2LE (   l)    (l)&0xFF, (l)>>8

Definition at line 375 of file usbd_impl.c.

◆ CFG_HDR_LEN

#define CFG_HDR_LEN   (0x9)

Definition at line 377 of file usbd_impl.c.

◆ CFG_HIDGEN_LEN

#define CFG_HIDGEN_LEN   (0x9+0x9+0x7+0x7)

Definition at line 378 of file usbd_impl.c.

◆ CFG_IO_U2F_LEN

#define CFG_IO_U2F_LEN   (0x9+0x9+0x7+0x7)

Definition at line 379 of file usbd_impl.c.

◆ CFG_USB_CCID_LEN

#define CFG_USB_CCID_LEN   (0x9+0x36+0x7+0x7)

Definition at line 380 of file usbd_impl.c.

◆ CFG_WEBUSB_LEN

#define CFG_WEBUSB_LEN   (0x9+0x7+0x7)

Definition at line 381 of file usbd_impl.c.

◆ USBD_CONFIGURATION_FS_STRING

#define USBD_CONFIGURATION_FS_STRING   USBD_PRODUCT_FS_STRING

Definition at line 285 of file usbd_impl.c.

◆ USBD_INTERFACE_FS_STRING

#define USBD_INTERFACE_FS_STRING   USBD_PRODUCT_FS_STRING

Definition at line 284 of file usbd_impl.c.

◆ USBD_LANGID_STRING

#define USBD_LANGID_STRING   0x409

Definition at line 118 of file usbd_impl.c.

◆ USBD_VID

#define USBD_VID   0x2C97

Definition at line 139 of file usbd_impl.c.

Function Documentation

◆ USBD_HID_GetHidDescriptor_impl()

uint8_t* USBD_HID_GetHidDescriptor_impl ( uint16_t len)

Definition at line 896 of file usbd_impl.c.

◆ USBD_HID_GetReportDescriptor_impl()

uint8_t* USBD_HID_GetReportDescriptor_impl ( uint16_t len)

Definition at line 918 of file usbd_impl.c.