From ea922c98d187eb74c31535afa3334ead5bd50526 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 29 May 2011 12:41:14 +0000 Subject: 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. --- Projects/AVRISP-MKII/Lib/V2ProtocolParams.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'Projects/AVRISP-MKII/Lib/V2ProtocolParams.h') diff --git a/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h b/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h index f4479d308..4ef091ce7 100644 --- a/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h +++ b/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h @@ -37,15 +37,20 @@ #define _V2_PROTOCOL_PARAMS_ /* Includes: */ - #include - #include - + #include #include #if defined(ADC) #include #endif + #if (ARCH == ARCH_AVR8) + #include + #include + #elif (ARCH == ARCH_UC3) + #include + #endif + #include "V2Protocol.h" #include "V2ProtocolConstants.h" #include "ISP/ISPTarget.h" @@ -59,6 +64,12 @@ /** Total number of parameters in the parameter table */ #define TABLE_PARAM_COUNT (sizeof(ParameterTable) / sizeof(ParameterTable[0])) + + #if (ARCH == ARCH_UC3) // TODO: FIXME + #define EEMEM + #define eeprom_read_byte(x) *x + #define eeprom_update_byte(x,y) *x=y + #endif /* Type Defines: */ /** Type define for a parameter table entry indicating a PC readable or writable device parameter. */ -- cgit v1.2.3