aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/Mouse/Mouse.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/ClassDriver/Mouse/Mouse.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/ClassDriver/Mouse/Mouse.h')
-rw-r--r--Demos/Device/ClassDriver/Mouse/Mouse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Device/ClassDriver/Mouse/Mouse.h b/Demos/Device/ClassDriver/Mouse/Mouse.h
index 05b73c07..325bfc50 100644
--- a/Demos/Device/ClassDriver/Mouse/Mouse.h
+++ b/Demos/Device/ClassDriver/Mouse/Mouse.h
@@ -84,6 +84,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);
bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo, uint8_t* const ReportID,
void* ReportData, uint16_t* ReportSize);