LUFA Library  140302
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USB_Audio_SampleFreq_t Struct Reference

24-Bit Audio Frequency Structure. More...

#include <AudioClassCommon.h>

Data Fields

uint8_t Byte1
uint8_t Byte2
uint8_t Byte3

Detailed Description

Type define for a 24-bit audio sample frequency structure. As GCC does not contain a built in 24-bit datatype, this this structure is used to build up the value instead. Fill this structure with the AUDIO_SAMPLE_FREQ() macro.

Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

uint8_t USB_Audio_SampleFreq_t::Byte1

Lowest 8 bits of the 24-bit value.

uint8_t USB_Audio_SampleFreq_t::Byte2

Middle 8 bits of the 24-bit value.

uint8_t USB_Audio_SampleFreq_t::Byte3

Upper 8 bits of the 24-bit value.

The documentation for this struct was generated from the following file: