- Sep 05, 2010
-
-
Dean Camera authored
Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() functions to retrieve the current USB frame number. Added new USB_Host_EnableSOFEvents(), USB_Host_DisableSOFEvents() and EVENT_USB_Host_StartOfFrame() for the user application handling of USB Start of Frame events while in USB Host mode. Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible to free up the Start of Frame flag for interrupt use in the user application.
-
- May 13, 2010
-
-
Dean Camera authored
Fixed possible device lockup when INTERRUPT_CONTROL_ENDPOINT is enabled and the control endpoint is not properly selected when the ISR completes.
-
- May 11, 2010
-
-
Dean Camera authored
Fix nasty bug in USBInterrupt.c which would cause a lockup if the control endpoint was not selected at the point the USB endpoint interrupt fires when INTERRUPT_CONTROL_ENDPOINT is defined.
-
- May 08, 2010
-
-
Dean Camera authored
Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
-
- May 04, 2010
-
-
Dean Camera authored
Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other interrupts from occuring while the control endpoint request is being processed, causing possible lockups if a USB interrupt occurs during a transfer.
-
- Apr 28, 2010
-
-
Dean Camera authored
Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the LowLevel directory as it is hardware-dependent.
-
- Apr 13, 2010
-
-
Dean Camera authored
Removed two-step endpoint/pipe bank clear and switch sequence for smaller, faster endpoint/pipe code. Added spacing between multiple paragraphs in Doxygen \note sections. Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.
-
- Feb 24, 2010
-
-
Dean Camera authored
-
Dean Camera authored
-
- Feb 11, 2010
-
-
Dean Camera authored
Add more include protection macros to give the user warnings when they try to manually include private driver header files, instead of the public driver headers.
-
- Dec 30, 2009
-
-
Dean Camera authored
-
- Dec 28, 2009
-
-
Dean Camera authored
-
- Nov 25, 2009
-
-
Dean Camera authored
-
- Aug 17, 2009
-
-
Dean Camera authored
Added new Endpoint_SetEndpointDirection() macro to set the current endpoint direction for bidirectional endpoints. Renamed internal USB_INT_ENDPOINT_SETUP macro to USB_INT_RXSTPI to fit in with the rest of the interrupt vector macros.
-
- Aug 16, 2009
-
-
Dean Camera authored
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.
-
- Aug 05, 2009
-
-
Dean Camera authored
Changed over manual loops waiting for endpoints to be ready to use the library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices.
-
Dean Camera authored
-
Dean Camera authored
Renamed all library events to properly seperate out Device and Host mode events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
-
- Aug 02, 2009
-
-
Dean Camera authored
Removed interrupt disable/enable from the Device mode control request processing routines, as they can cause problems with user code and can cause infinite spinlocks under some circumstances. Added new LUFA logo from EDIGMA.COM.
-
- Jul 31, 2009
-
-
Dean Camera authored
Renamed USB_Device_SetHighSpeed() to USB_Device_SetFullSpeed() so that the correct terminology is used (thanks to Brian Dickman). Fix USB_PLL_Off() call in the series 4, 6 and 7 microcontroller disconnect interrupt handler code, which wasn't guarded by a test of USB_Options to check if the user has specified manual PLL control (thanks to Brian Dickman).
-
- Jul 23, 2009
-
-
Dean Camera authored
Ensure that the USB_DeviceState variable is properly set upon wakeup events, to the Addressed or Configured state as needed. Add explicit support for the AT90USB646 to the Teensy bootloader now that PJRC have released the Teensy++ board. Ensure unfinished SideShow demo uses an unallocated PID value within the LUFA range.
-
- Jul 21, 2009
-
-
Dean Camera authored
Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
-
- Jul 13, 2009
-
-
Dean Camera authored
Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected.
-
- Jun 14, 2009
-
-
Dean Camera authored
Changed per-device controller preprocessor checks over to per-device series for better device control. Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
-
- Jun 02, 2009
-
-
Dean Camera authored
Removed new Start of Frame event from the library; performance suffered far too much and it was only useful in one of the standard classes (HID). Altered HID demos to use the previous method of tracking millisecond periods via a hardware timer rather than the SOF events. Fixed MIDI class driver blocking on unread events to the host.
-
- Jun 01, 2009
-
-
Dean Camera authored
Commit of new class abstraction APIs for all device demos other than the MIDI demo - not documented yet. Removed scheduler and memory allocation libraries. Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated). Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
-
- May 19, 2009
-
-
Dean Camera authored
USB_IsConnected is now cleared before the USB_Disconnect() event is fired in response to VBUS being removed. Minor documentation improvements.
-
- May 18, 2009
-
-
Dean Camera authored
Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley). Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code. Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
-
- May 14, 2009
-
-
Dean Camera authored
Removed all user pipe/endpoint interrupt APIs, added internal library support for interrupt driven control endpoints when in device mode by defining INTERRUPT_CONTROL_ENDPOINT token and passing it to the compiler via the -D switch.
-
- Apr 05, 2009
-
-
Dean Camera authored
Move StdRequestType.h, StreamCallbacks.h, USBMode.h from the LowLevel USB driver directory to the HighLevel USB driver directory, where they are more suited.
-
- Feb 23, 2009
-
-
Dean Camera authored
-