usbd_desc.h 305 B

12345678910111213141516171819
  1. #pragma once
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. #include "usbd_def.h"
  6. #define DEVICE_ID1 (UID_BASE)
  7. #define DEVICE_ID2 (UID_BASE + 0x4)
  8. #define DEVICE_ID3 (UID_BASE + 0x8)
  9. #define USB_SIZ_STRING_SERIAL 0x1E
  10. extern USBD_DescriptorsTypeDef CDC_Desc;
  11. #ifdef __cplusplus
  12. }
  13. #endif