mirror of
https://github.com/ArteryTek/AT32F415_Firmware_Library.git
synced 2026-05-21 01:12:20 +00:00
update version to v2.0.3
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
**************************************************************************
|
||||
* @file audio_desc.h
|
||||
* @version v2.0.2
|
||||
* @date 2021-12-31
|
||||
* @version v2.0.3
|
||||
* @date 2022-02-11
|
||||
* @brief usb audio descriptor header file
|
||||
**************************************************************************
|
||||
* Copyright notice & Disclaimer
|
||||
@@ -48,18 +48,18 @@ extern "C" {
|
||||
* @{
|
||||
*/
|
||||
|
||||
#define BCD_NUM 0x0100
|
||||
#define AUDIO_BCD_NUM 0x0100
|
||||
|
||||
#define USBD_VENDOR_ID 0x2E3C
|
||||
#define USBD_PRODUCT_ID 0x5730
|
||||
#define USBD_AUDIO_VENDOR_ID 0x2E3C
|
||||
#define USBD_AUDIO_PRODUCT_ID 0x5730
|
||||
|
||||
#define USBD_SIZ_STRING_LANGID 4
|
||||
#define USBD_SIZ_STRING_SERIAL 0x1A
|
||||
#define USBD_AUDIO_SIZ_STRING_LANGID 4
|
||||
#define USBD_AUDIO_SIZ_STRING_SERIAL 0x1A
|
||||
|
||||
#define USBD_DESC_MANUFACTURER_STRING "Artery"
|
||||
#define USBD_DESC_PRODUCT_STRING "AT32 Audio"
|
||||
#define USBD_DESC_CONFIGURATION_STRING "Audio Config"
|
||||
#define USBD_DESC_INTERFACE_STRING "Audio Interface"
|
||||
#define USBD_AUDIO_DESC_MANUFACTURER_STRING "Artery"
|
||||
#define USBD_AUDIO_DESC_PRODUCT_STRING "AT32 Audio"
|
||||
#define USBD_AUDIO_DESC_CONFIGURATION_STRING "Audio Config"
|
||||
#define USBD_AUDIO_DESC_INTERFACE_STRING "Audio Interface"
|
||||
|
||||
/**
|
||||
* @brief audio interface subclass codes
|
||||
@@ -202,10 +202,10 @@ extern "C" {
|
||||
#define AUDIO_SPK_CHR AUDIO_SPK_CHANEL_NUM
|
||||
#define AUDIO_SPK_BITW (AUDIO_SPK_DEFAULT_BITW)
|
||||
|
||||
#define HID_BINTERVAL_TIME 0x01
|
||||
#define AUDIO_BINTERVAL_TIME 0x01
|
||||
|
||||
|
||||
#define USBD_CONFIG_DESC_SIZE ( 0x12 + AUDIO_INTERFACE_LEN + \
|
||||
#define USBD_AUDIO_CONFIG_DESC_SIZE ( 0x12 + AUDIO_INTERFACE_LEN + \
|
||||
+ (0x31 + AUDIO_SPK_FREQ_SIZE * 3) \
|
||||
+ (0x31 + AUDIO_MIC_FREQ_SIZE * 3) \
|
||||
+ (9 * AUDIO_SUPPORT_FEEDBACK) \
|
||||
@@ -216,8 +216,6 @@ extern "C" {
|
||||
#define MCU_ID2 (0x1FFFF7EC)
|
||||
#define MCU_ID3 (0x1FFFF7F0)
|
||||
|
||||
extern uint8_t g_usbd_descriptor[USB_DEVICE_DESC_LEN];
|
||||
extern uint8_t g_usbd_configuration[USBD_CONFIG_DESC_SIZE];
|
||||
extern usbd_desc_handler audio_desc_handler;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user