aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/LowLevel/Keyboard/Keyboard.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-08-16 08:51:54 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-08-16 08:51:54 +0000
commite10c96d30e319db63d1fdf95265c7afe30bbdf03 (patch)
tree00dc93dadd1e8fc9841fec230be8dd7db006b6ba /Demos/Device/LowLevel/Keyboard/Keyboard.h
parent946bf6b87c56b487281d4bc399ea7a10651b75d2 (diff)
Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@740 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/LowLevel/Keyboard/Keyboard.h')
-rw-r--r--Demos/Device/LowLevel/Keyboard/Keyboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/LowLevel/Keyboard/Keyboard.h b/Demos/Device/LowLevel/Keyboard/Keyboard.h
index bc478f31..f319ab73 100644
--- a/Demos/Device/LowLevel/Keyboard/Keyboard.h
+++ b/Demos/Device/LowLevel/Keyboard/Keyboard.h
@@ -40,7 +40,6 @@
/* Includes: */
#include <avr/io.h>
#include <avr/wdt.h>
- #include <avr/interrupt.h>
#include <avr/power.h>
#include <stdbool.h>
#include <string.h>
@@ -105,6 +104,7 @@
void EVENT_USB_Device_Disconnect(void);
void EVENT_USB_Device_ConfigurationChanged(void);
void EVENT_USB_Device_UnhandledControlRequest(void);
+ void EVENT_USB_Device_StartOfFrame(void);
void CreateKeyboardReport(USB_KeyboardReport_Data_t* ReportData);
void ProcessLEDReport(uint8_t LEDReport);