#include <avr/io.h>\r
#include <avr/wdt.h>\r
#include <avr/power.h>\r
+ #include <avr/interrupt.h>\r
\r
#include "AVRISPDescriptors.h"\r
#include "USARTDescriptors.h"\r
/** LED mask for the library LED driver, to indicate that the USB interface is busy. */\r
#define LEDMASK_BUSY LEDS_LED1\r
\r
+ /** Firmware mode define for the USART Bridge mode. */\r
#define MODE_USART_BRIDGE false\r
+\r
+ /** Firmware mode define for the AVRISP Programmer mode. */\r
#define MODE_PDI_PROGRAMMER true \r
\r
/* External Variables: */\r
\r
void EVENT_USB_Device_ConfigurationChanged(void);\r
void EVENT_USB_Device_UnhandledControlRequest(void);\r
- \r
- void EVENT_CDC_Device_LineEncodingChanged(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo);\r
+ void EVENT_USB_Device_Connect(void);\r
+ void EVENT_USB_Device_Disconnect(void); \r
\r
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress);\r
\r