#include <stdbool.h>
#include <stdint.h>
#include "ti/devices/msp432e4/driverlib/driverlib.h"
#include "ti/usblib/msp432e4/usblib.h"
#include "ti/usblib/msp432e4/usblibpriv.h"
#include "ti/usblib/msp432e4/usbaudio.h"
#include "usbdevice.h"
#include "usbdaudio.h"
Macros | |
#define | AUDIO_IN_TERMINAL_ID 1 |
#define | AUDIO_OUT_TERMINAL_ID 2 |
#define | AUDIO_CONTROL_ID 3 |
#define | AUDIO_INTERFACE_CONTROL 0 |
#define | AUDIO_INTERFACE_OUTPUT 1 |
#define | ISOC_OUT_ENDPOINT USB_EP_1 |
#define | ISOC_OUT_EP_MAX_SIZE ((48000*4)/1000) |
#define | NUM_AUDIO_SECTIONS |
Functions | |
void * | USBDAudioInit (uint32_t ui32Index, tUSBDAudioDevice *psAudioDevice) |
void * | USBDAudioCompositeInit (uint32_t ui32Index, tUSBDAudioDevice *psAudioDevice, tCompositeEntry *psCompEntry) |
void | USBDAudioTerm (void *pvAudioDevice) |
int32_t | USBAudioBufferOut (void *pvAudioDevice, void *pvBuffer, uint32_t ui32Size, tUSBAudioBufferCallback pfnCallback) |
Variables | |
uint8_t | g_pui8IADAudioDescriptor [AUDIODESCRIPTOR_SIZE] |
const tConfigSection | g_sIADAudioConfigSection |
const uint8_t | g_pui8AudioControlInterface [CONTROLINTERFACE_SIZE] |
const uint8_t | g_pui8AudioStreamInterface [STREAMINTERFACE_SIZE] |
const tConfigSection | g_sAudioConfigSection |
const tConfigSection | g_sAudioStreamInterfaceSection |
const tConfigSection | g_sAudioControlInterfaceSection |
const tConfigSection * | g_psAudioSections [] |
const tConfigHeader | g_sAudioConfigHeader |
const tConfigHeader *const | g_ppAudioConfigDescriptors [] |