Macros
Collaboration diagram for USBD_CORE_Exported_Macros:

Macros

#define AUDIO_PACKET_SZE(frq)
 
#define SAMPLE_FREQ(frq)   (uint8_t)(frq), (uint8_t)((frq >> 8)), (uint8_t)((frq >> 16))
 
#define USBD_DFU_IF_DESC(n)
 

Detailed Description

Macro Definition Documentation

#define AUDIO_PACKET_SZE (   frq)
Value:
(uint8_t)(((frq * 2 * 2)/1000) & 0xFF), \
(uint8_t)((((frq * 2 * 2)/1000) >> 8) & 0xFF)

Definition at line 131 of file usbd_audio_core.h.

#define SAMPLE_FREQ (   frq)    (uint8_t)(frq), (uint8_t)((frq >> 8)), (uint8_t)((frq >> 16))

Definition at line 133 of file usbd_audio_core.h.

#define USBD_DFU_IF_DESC (   n)
Value:
0x09, /* bLength: Interface Descriptor size */ \
USB_INTERFACE_DESCRIPTOR_TYPE, /* bDescriptorType */ \
0x00, /* bInterfaceNumber: Number of Interface */ \
(n), /* bAlternateSetting: Alternate setting */ \
0x00, /* bNumEndpoints*/ \
0xFE, /* bInterfaceClass: Application Specific Class Code */ \
0x01, /* bInterfaceSubClass : Device Firmware Upgrade Code */ \
0x02, /* nInterfaceProtocol: DFU mode protocol */ \
USBD_IDX_INTERFACE_STR + (n) + 1 /* iInterface: Index of string descriptor */ \
/* 18 */
#define USB_INTERFACE_DESCRIPTOR_TYPE
Definition: usbd_cdc_core.h:58
#define USBD_IDX_INTERFACE_STR
Definition: usbd_def.h:65

Definition at line 153 of file usbd_dfu_core.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:22