diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-16 08:51:54 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-16 08:51:54 +0000 |
commit | b71ff7c8cd68209a74c8690f4d190cc634ef8fb3 (patch) | |
tree | 00dc93dadd1e8fc9841fec230be8dd7db006b6ba /Demos/Device/LowLevel/Mouse/Mouse.h | |
parent | 25ddbb9e3bcf184ebf1c17ea254b3c0c924327e2 (diff) | |
download | lufa-b71ff7c8cd68209a74c8690f4d190cc634ef8fb3.tar.gz lufa-b71ff7c8cd68209a74c8690f4d190cc634ef8fb3.tar.bz2 lufa-b71ff7c8cd68209a74c8690f4d190cc634ef8fb3.zip |
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.
Diffstat (limited to 'Demos/Device/LowLevel/Mouse/Mouse.h')
-rw-r--r-- | Demos/Device/LowLevel/Mouse/Mouse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/LowLevel/Mouse/Mouse.h b/Demos/Device/LowLevel/Mouse/Mouse.h index b244ffa58..698fe478a 100644 --- a/Demos/Device/LowLevel/Mouse/Mouse.h +++ b/Demos/Device/LowLevel/Mouse/Mouse.h @@ -39,7 +39,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 CreateMouseReport(USB_MouseReport_Data_t* ReportData);
|