4.4.3.2.12 USB_DescriptorPointerGet()

RETURN_CODE_t USB_DescriptorPointerGet (USB_DESCRIPTOR_TYPE_t descriptor, uint8_t attribute, uint8_t ** descriptorPtr, uint16_t * descriptorLength)

Gets the pointer to the descriptor.

Parameters:
descriptor

- Descriptor type

attribute

- Attribute type

**descriptorPtr

- Pointer to the descriptor

*descriptorLength

- Length of the descriptor

Returns:

SUCCESS or an Error code according to RETURN_CODE_t