/******************************************************************************* * Function Name : CustomHID_GetConfigDescriptor. * Description : Gets the configuration descriptor. * Input : Length * Output : None. * Return : The address of the configuration descriptor. *******************************************************************************/ uint8_t *CustomHID_GetConfigDescriptor(uint16_t Length) { return Standard_GetDescriptorData(Length, &Config_Descriptor); }
/******************************************************************************* * Function Name : CustomHID_GetConfigDescriptor. * Description : Gets the configuration descriptor. * Input : Length * Output : None. * Return : The address of the configuration descriptor. *******************************************************************************/ static uint8_t *composite_cdc_hid_GetConfigDescriptor(uint16_t Length) { return Standard_GetDescriptorData(Length, &Config_Descriptor); }
/******************************************************************************* * Function Name : CustomHID_GetDeviceDescriptor. * Description : Gets the device descriptor. * Input : Length * Output : None. * Return : The address of the device descriptor. *******************************************************************************/ uint8_t *CustomHID_GetDeviceDescriptor(uint16_t Length) { return Standard_GetDescriptorData(Length, &Device_Descriptor); }
static uint8_t *CustomHID_GetReportDescriptor(uint16_t Length) { PrevXferComplete = 1 ; return Standard_GetDescriptorData(Length, &CustomHID_Report_Descriptor); }
/******************************************************************************* * Function Name : CustomHID_GetDeviceDescriptor. * Description : Gets the device descriptor. * Input : Length * Output : None. * Return : The address of the device descriptor. *******************************************************************************/ static uint8_t *composite_cdc_hid_GetDeviceDescriptor(uint16_t Length) { return Standard_GetDescriptorData(Length, &Device_Descriptor); }
u8* usbGetDeviceDescriptor(u16 len) { return Standard_GetDescriptorData(len, &usbDeviceDescriptorDFU); }
/******************************************************************************* * Function Name : MASS_GetConfigDescriptor * Description : Get the configuration descriptor. *******************************************************************************/ u8 *MASS_GetConfigDescriptor(u16 Length) { return Standard_GetDescriptorData(Length, &Config_Descriptor ); }
/******************************************************************************* * Function Name : Virtual_Com_Port_GetDeviceDescriptor. * Description : Gets the device descriptor. * Input : Length. * Output : None. * Return : The address of the device descriptor. *******************************************************************************/ uint8_t *Virtual_Com_Port_GetDeviceDescriptor(uint16_t Length) { return Standard_GetDescriptorData(Length, &Device_Descriptor); }
/******************************************************************************* * Function Name : Virtual_Com_Port_GetConfigDescriptor. * Description : get the configuration descriptor. * Input : Length. * Output : None. * Return : The address of the configuration descriptor. *******************************************************************************/ uint8_t *Virtual_Com_Port_GetConfigDescriptor(uint16_t Length) { return Standard_GetDescriptorData(Length, &Config_Descriptor); }
/******************************************************************************* * Function Name : CustomHID_GetHIDDescriptor. * Description : Gets the HID descriptor. * Input : Length * Output : None. * Return : The address of the configuration descriptor. *******************************************************************************/ u8 *CustomHID_GetHIDDescriptor(u16 Length) { return Standard_GetDescriptorData(Length, &CustomHID_Hid_Descriptor); }
// Получает дескриптор конфигурации uint8_t *SomeDev_GetConfigDescriptor(uint16_t Length) { return Standard_GetDescriptorData(Length, &Config_Descriptor ); }
/******************************************************************************* * Function Name : CustomHID_GetReportDescriptor. * Description : Gets the HID report descriptor. * Input : Length * Output : None. * Return : The address of the configuration descriptor. *******************************************************************************/ u8 *CustomHID_GetReportDescriptor(u16 Length) { return Standard_GetDescriptorData(Length, &CustomHID_Report_Descriptor); }
/******************************************************************************* * Function Name : CustomHID_GetConfigDescriptor. * Description : Gets the configuration descriptor. * Input : Length * Output : None. * Return : The address of the configuration descriptor. *******************************************************************************/ u8 *CustomHID_GetConfigDescriptor(u16 Length) { return Standard_GetDescriptorData(Length, &Config_Descriptor); }
/******************************************************************************* * Function Name : CustomHID_GetDeviceDescriptor. * Description : Gets the device descriptor. * Input : Length * Output : None. * Return : The address of the device descriptor. *******************************************************************************/ u8 *CustomHID_GetDeviceDescriptor(u16 Length) { return Standard_GetDescriptorData(Length, &Device_Descriptor); }
/******************************************************************************* * Function Name : CustomHID_GetReportDescriptor. * Description : Gets the HID report descriptor. * Input : Length * Output : None. * Return : The address of the configuration descriptor. *******************************************************************************/ uint8_t *CustomHID_GetReportDescriptor(uint16_t Length) { return Standard_GetDescriptorData(Length, &CustomHID_Report_Descriptor); }
/****************************************************************************** * @brief Gets the device descriptor. * @param Length * @retval The address of the device descriptor. */ uint8_t * CDC_GetDeviceDescriptor(uint16_t length) { return Standard_GetDescriptorData(length, &Device_Descriptor); }
/******************************************************************************* * Function Name : CustomHID_GetHIDDescriptor. * Description : Gets the HID descriptor. * Input : Length * Output : None. * Return : The address of the configuration descriptor. *******************************************************************************/ uint8_t *CustomHID_GetHIDDescriptor(uint16_t Length) { return Standard_GetDescriptorData(Length, &CustomHID_Hid_Descriptor); }
/****************************************************************************** * @brief Get the configuration descriptor. * @param Input : Length. * @retval The address of the configuration descriptor. */ uint8_t * CDC_GetConfigDescriptor(uint16_t length) { return Standard_GetDescriptorData(length, &Config_Descriptor); }
u8* usbGetConfigDescriptor(u16 len) { return Standard_GetDescriptorData(len, &usbConfigDescriptorDFU); }
/******************************************************************************* * Function Name : MASS_GetDeviceDescriptor * Description : Get the device descriptor. *******************************************************************************/ u8 *MASS_GetDeviceDescriptor(u16 Length) { return Standard_GetDescriptorData(Length, &Device_Descriptor ); }