Added new incomplete AudioInputHost Host LowLevel demo.

Added missing Audio class control request definitions.

Added support for the Audio class GET STATUS request so that it is correctly ACKed when sent by the host.
This commit is contained in:
Dean Camera 2011-05-29 12:41:14 +00:00
parent cc9b190919
commit ea922c98d1
41 changed files with 9816 additions and 166 deletions

View file

@ -37,11 +37,7 @@
#define _AVRISP_H_
/* Includes: */
#include <avr/io.h>
#include <avr/wdt.h>
#include <avr/interrupt.h>
#include <avr/power.h>
#include <LUFA/Common/Common.h>
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/USB/USB.h>
@ -50,6 +46,17 @@
#include <LUFA/Drivers/Peripheral/ADC.h>
#endif
#if (ARCH == ARCH_AVR8)
#include <avr/io.h>
#include <avr/wdt.h>
#include <avr/interrupt.h>
#include <avr/power.h>
#elif (ARCH == ARCH_UC3)
#include <avr32/io.h>
#include <LUFA/Platform/UC3/INTC_UC3.h> // TODO: FIXME
#endif
#include "Descriptors.h"
#include "Lib/V2Protocol.h"
@ -69,9 +76,6 @@
/** LED mask for the library LED driver, to indicate that the USB interface is busy. */
#define LEDMASK_BUSY (LEDS_LED1 | LEDS_LED2)
/** LED mask for the library LED driver, to indicate that the target is being powered by VBUS. */
#define LEDMASK_VBUSPOWER LEDS_LED3
/* Function Prototypes: */
void SetupHardware(void);
void AVRISP_Task(void);