![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "../../Core/StdDescriptors.h"
Go to the source code of this file.
uint16_t ACSpecification |
Binary coded decimal value, indicating the supported Audio Class specification version.
Definition at line 431 of file AudioClassCommon.h.
uint8_t AssociatedInputTerminal |
ID of associated input terminal, for physically grouped terminals such as the speaker and microphone of a phone handset.
Definition at line 375 of file AudioClassCommon.h.
uint8_t AssociatedOutputTerminal |
ID of associated output terminal, for physically grouped terminals such as the speaker and microphone of a phone handset.
Definition at line 313 of file AudioClassCommon.h.
uint8_t Attributes |
Audio class-specific endpoint attributes, such as AUDIO_EP_FULL_PACKETS_ONLY.
Definition at line 725 of file AudioClassCommon.h.
uint16_t AudioFormat |
Format of the audio stream, see Audio Device Formats specification.
Definition at line 543 of file AudioClassCommon.h.
uint8_t bAssocTerminal |
ID of associated output terminal, for physically grouped terminals such as the speaker and microphone of a phone handset.
ID of associated input terminal, for physically grouped terminals such as the speaker and microphone of a phone handset.
Definition at line 346 of file AudioClassCommon.h.
uint8_t bBitResolution |
Bits of resolution of each channel's samples in the stream.
Definition at line 649 of file AudioClassCommon.h.
uint16_t bcdADC |
Binary coded decimal value, indicating the supported Audio Class specification version.
Definition at line 460 of file AudioClassCommon.h.
uint8_t bControlSize |
Size of each element in the ChannelControls
array.
Definition at line 518 of file AudioClassCommon.h.
uint8_t bDelay |
Delay in frames resulting from the complete sample processing from input to output.
Definition at line 569 of file AudioClassCommon.h.
uint8_t bDescriptorSubtype |
Sub type value used to distinguish between audio class-specific descriptors, must be AUDIO_DSUBTYPE_CSInterface_InputTerminal.
Sub type value used to distinguish between audio class-specific descriptors, a value from the Audio_CSInterface_AC_SubTypes_t enum.
Sub type value used to distinguish between audio class-specific descriptors, a value from the Audio_CSInterface_AS_SubTypes_t enum.
Sub type value used to distinguish between audio class-specific descriptors, must be AUDIO_DSUBTYPE_CSInterface_Feature.
Sub type value used to distinguish between audio class-specific descriptors, a value from the Audio_CSEndpoint_SubTypes_t enum.
Definition at line 341 of file AudioClassCommon.h.
uint8_t bDescriptorType |
Type of the descriptor, either a value in USB_DescriptorTypes_t or a value given by the specific class.
Sub type value used to distinguish between audio class-specific descriptors, must be AUDIO_DSUBTYPE_CSInterface_OutputTerminal.
Sub type value used to distinguish between audio class-specific descriptors, must be AUDIO_DSUBTYPE_CSInterface_FormatType.
Definition at line 337 of file AudioClassCommon.h.
uint8_t bEndpointAddress |
Logical address of the endpoint within the device for the current configuration, including direction mask.
Definition at line 691 of file AudioClassCommon.h.
uint8_t bFormatType |
Format of the audio stream, see Audio Device Formats specification.
Definition at line 645 of file AudioClassCommon.h.
uint8_t bInCollection |
Total number of Audio Streaming interfaces linked to this Audio Control interface (must be 1).
Definition at line 463 of file AudioClassCommon.h.
uint8_t bInterfaceNumbers |
Interface number of the associated Audio Streaming interface.
Definition at line 464 of file AudioClassCommon.h.
uint8_t bInterval |
Polling interval in milliseconds for the endpoint if it is an INTERRUPT or ISOCHRONOUS type.
Definition at line 700 of file AudioClassCommon.h.
uint8_t BitResolution |
Bits of resolution of each channel's samples in the stream.
Definition at line 597 of file AudioClassCommon.h.
uint8_t bLength |
Size of the descriptor, in bytes.
Definition at line 336 of file AudioClassCommon.h.
uint8_t bLockDelayUnits |
Units used for the LockDelay field, see Audio class specification.
Definition at line 755 of file AudioClassCommon.h.
uint8_t bmaControls[3] |
Feature masks for the control channel, and each separate audio channel.
Definition at line 519 of file AudioClassCommon.h.
uint8_t bmAttributes |
Endpoint attributes, comprised of a mask of the endpoint type (EP_TYPE_*
) and attributes (ENDPOINT_ATTR_*
) masks.
Audio class-specific endpoint attributes, such as AUDIO_EP_FULL_PACKETS_ONLY.
Definition at line 694 of file AudioClassCommon.h.
uint8_t bNrChannels |
Total number of separate audio channels within this interface (right, left, etc.)
Total number of discrete channels in the stream.
Definition at line 349 of file AudioClassCommon.h.
uint8_t bRefresh |
Always set to zero for Audio class devices.
Definition at line 704 of file AudioClassCommon.h.
uint8_t bSampleFrequencyType |
Total number of sample frequencies supported by the device. When zero, this must be followed by the lower and upper continuous sampling frequencies supported by the device; otherwise, this must be followed by the given number of discrete sampling frequencies supported.
Definition at line 651 of file AudioClassCommon.h.
uint8_t bSourceID |
ID value of the unit this terminal's audio is sourced from.
Source ID value of the audio source input into this feature unit.
Definition at line 409 of file AudioClassCommon.h.
uint8_t bSubFrameSize |
Size in bytes of each channel's sample data in the stream.
Definition at line 648 of file AudioClassCommon.h.
uint8_t bSynchAddress |
Endpoint address to send synchronization information to, if needed (zero otherwise).
Definition at line 705 of file AudioClassCommon.h.
uint8_t bTerminalID |
ID value of this terminal unit - must be a unique value within the device.
Definition at line 344 of file AudioClassCommon.h.
uint8_t bTerminalLink |
ID value of the output terminal this descriptor is describing.
Definition at line 567 of file AudioClassCommon.h.
uint8_t bUnitID |
ID value of this feature unit - must be a unique value within the device.
Definition at line 515 of file AudioClassCommon.h.
uint8_t Byte1 |
Lowest 8 bits of the 24-bit value.
Definition at line 615 of file AudioClassCommon.h.
uint8_t Byte2 |
Middle 8 bits of the 24-bit value.
Definition at line 616 of file AudioClassCommon.h.
uint8_t Byte3 |
Upper 8 bits of the 24-bit value.
Definition at line 617 of file AudioClassCommon.h.
uint16_t ChannelConfig |
CHANNEL_*
masks indicating what channel layout is supported by this terminal.
Definition at line 317 of file AudioClassCommon.h.
uint8_t ChannelControls[3] |
Feature masks for the control channel, and each separate audio channel.
Definition at line 488 of file AudioClassCommon.h.
uint8_t Channels |
Total number of discrete channels in the stream.
Definition at line 594 of file AudioClassCommon.h.
uint8_t ChannelStrIndex |
Index of a string descriptor describing this channel within the device.
Definition at line 319 of file AudioClassCommon.h.
uint8_t ControlSize |
Size of each element in the ChannelControls
array.
Definition at line 487 of file AudioClassCommon.h.
USB_Descriptor_Endpoint_t Endpoint |
Standard endpoint descriptor describing the audio endpoint.
Definition at line 669 of file AudioClassCommon.h.
uint8_t FeatureUnitStrIndex |
Index of a string descriptor describing this descriptor within the device.
Definition at line 490 of file AudioClassCommon.h.
uint8_t FormatType |
Format of the audio stream, see Audio Device Formats specification.
Definition at line 593 of file AudioClassCommon.h.
uint8_t FrameDelay |
Delay in frames resulting from the complete sample processing from input to output.
Definition at line 542 of file AudioClassCommon.h.
USB_Descriptor_Header_t Header |
Regular descriptor header containing the descriptor's type and length.
Definition at line 306 of file AudioClassCommon.h.
uint8_t iChannelNames |
Index of a string descriptor describing this channel within the device.
Definition at line 352 of file AudioClassCommon.h.
uint8_t iFeature |
Index of a string descriptor describing this descriptor within the device.
Definition at line 521 of file AudioClassCommon.h.
uint8_t InCollection |
Total number of Audio Streaming interfaces linked to this Audio Control interface (must be 1).
Definition at line 434 of file AudioClassCommon.h.
uint8_t InterfaceNumber |
Interface number of the associated Audio Streaming interface.
Definition at line 435 of file AudioClassCommon.h.
uint8_t iTerminal |
Index of a string descriptor describing this descriptor within the device.
Definition at line 353 of file AudioClassCommon.h.
uint16_t LockDelay |
Time required to internally lock endpoint's internal clock recovery circuitry.
Definition at line 728 of file AudioClassCommon.h.
uint8_t LockDelayUnits |
Units used for the LockDelay field, see Audio class specification.
Definition at line 727 of file AudioClassCommon.h.
uint8_t Refresh |
Always set to zero for Audio class devices.
Definition at line 671 of file AudioClassCommon.h.
uint8_t SourceID |
ID value of the unit this terminal's audio is sourced from.
Source ID value of the audio source input into this feature unit.
Definition at line 378 of file AudioClassCommon.h.
uint8_t SubFrameSize |
Size in bytes of each channel's sample data in the stream.
Definition at line 596 of file AudioClassCommon.h.
uint8_t Subtype |
Sub type value used to distinguish between audio class-specific descriptors, must be AUDIO_DSUBTYPE_CSInterface_InputTerminal.
Sub type value used to distinguish between audio class-specific descriptors, must be AUDIO_DSUBTYPE_CSInterface_OutputTerminal.
Sub type value used to distinguish between audio class-specific descriptors, a value from the Audio_CSInterface_AS_SubTypes_t enum.
Sub type value used to distinguish between audio class-specific descriptors, must be AUDIO_DSUBTYPE_CSInterface_Feature.
Sub type value used to distinguish between audio class-specific descriptors, must be AUDIO_DSUBTYPE_CSInterface_FormatType.
Sub type value used to distinguish between audio class-specific descriptors, a value from the Audio_CSEndpoint_SubTypes_t enum.
Definition at line 307 of file AudioClassCommon.h.
uint8_t SyncEndpointNumber |
Endpoint address to send synchronization information to, if needed (zero otherwise).
Definition at line 672 of file AudioClassCommon.h.
uint8_t TerminalID |
ID value of this terminal unit - must be a unique value within the device.
Definition at line 311 of file AudioClassCommon.h.
uint8_t TerminalLink |
ID value of the output terminal this descriptor is describing.
Definition at line 540 of file AudioClassCommon.h.
uint8_t TerminalStrIndex |
Index of a string descriptor describing this descriptor within the device.
Definition at line 320 of file AudioClassCommon.h.
uint16_t TerminalType |
Type of terminal, a TERMINAL_*
mask.
Definition at line 312 of file AudioClassCommon.h.
uint8_t TotalChannels |
Total number of separate audio channels within this interface (right, left, etc.)
Definition at line 316 of file AudioClassCommon.h.
uint8_t TotalDiscreteSampleRates |
Total number of discrete sample frequencies supported by the device. When zero, this must be followed by the lower and upper continuous sampling frequencies supported by the device; otherwise, this must be followed by the given number of discrete sampling frequencies supported.
Definition at line 599 of file AudioClassCommon.h.
uint16_t TotalLength |
Total length of the Audio class-specific descriptors, including this descriptor.
Definition at line 432 of file AudioClassCommon.h.
uint8_t UnitID |
ID value of this feature unit - must be a unique value within the device.
Definition at line 484 of file AudioClassCommon.h.
uint16_t wChannelConfig |
CHANNEL_*
masks indicating what channel layout is supported by this terminal.
Definition at line 350 of file AudioClassCommon.h.
uint16_t wFormatTag |
Format of the audio stream, see Audio Device Formats specification.
Definition at line 570 of file AudioClassCommon.h.
uint16_t wLockDelay |
Time required to internally lock endpoint's internal clock recovery circuitry.
Definition at line 756 of file AudioClassCommon.h.
uint16_t wMaxPacketSize |
Size of the endpoint bank, in bytes. This indicates the maximum packet size that the endpoint can receive at a time.
Definition at line 697 of file AudioClassCommon.h.
uint16_t wTerminalType |
Type of terminal, a TERMINAL_*
mask.
Definition at line 345 of file AudioClassCommon.h.
uint16_t wTotalLength |
Total length of the Audio class-specific descriptors, including this descriptor.
Definition at line 461 of file AudioClassCommon.h.