- 12 Oct, 2010 1 commit
-
-
Dean Camera authored
Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic. Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run. Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().
-
- 01 Oct, 2010 1 commit
-
-
Dean Camera authored
-
- 22 Sep, 2010 1 commit
-
-
Dean Camera authored
Fixed SUSPI interrupt not being cleared during device mode enumeration, causing accidental mis-fires on re-enumeration. Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode.
-
- 21 Sep, 2010 1 commit
-
-
Dean Camera authored
Oops - need to call USB_Attach() when reinitializing into USB Host mode, or no devices will be detected.
-
- 19 Sep, 2010 5 commits
-
-
Dean Camera authored
Rename internal suspend and wake up USB interrupt macros so that they follow the same naming scheme as the other USB ISR macros.
-
Dean Camera authored
Make device mode configure the control endpoint even before the bus has been reset, so that the device will enumerate correctly on hosts that do not reset the device before initial use.
-
Dean Camera authored
More simplifications to USBController.c, fix errors and warnings when compiled for the series 2 USB AVRs.
-
Dean Camera authored
-
Dean Camera authored
Make USBInterrupt.c process all pending USB host mode interrupts before resetting the bus, so that no interrupts are lost when in UID auto-selection mode.
-
- 15 Sep, 2010 1 commit
-
-
Dean Camera authored
Removed the EVENT_USB_InitFailure() event, as not specifying a USB mode to USB_Init() now defaults the controller into UID selection mode.
-
- 13 Sep, 2010 1 commit
-
-
Dean Camera authored
Fixed SET FEATURE and CLEAR FEATURE control requests directed at an unconfigured endpoint causing request timeouts.
-
- 21 Jul, 2010 1 commit
-
-
Dean Camera authored
Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
-
- 08 May, 2010 1 commit
-
-
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.
-
- 28 Apr, 2010 1 commit
-
-
Dean Camera authored
USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run.
-
- 13 Apr, 2010 1 commit
-
-
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.
-
- 24 Feb, 2010 1 commit
-
-
Dean Camera authored
-
- 23 Feb, 2010 1 commit
-
-
Dean Camera authored
-
- 11 Feb, 2010 1 commit
-
-
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.
-
- 30 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 28 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 20 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 18 Dec, 2009 1 commit
-
-
Dean Camera authored
Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is shut down and both Host and Device modes can be used (thanks to Daniel Levy).
-
- 13 Aug, 2009 1 commit
-
-
Dean Camera authored
Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo.
-
- 05 Aug, 2009 1 commit
-
-
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.
-
- 31 Jul, 2009 1 commit
-
-
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).
-
- 21 Jul, 2009 2 commits
-
-
Dean Camera authored
Changed USB_Init() and USB_Shutdown() so that they are no longer dependant on oneanother for possible code savings when the interface is never explicitly shut down.
-
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.
-
- 26 Jun, 2009 1 commit
-
-
Dean Camera authored
Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed. Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails. Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
-
- 14 Jun, 2009 2 commits
-
-
Dean Camera authored
-
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.
-
- 08 Jun, 2009 1 commit
-
-
Dean Camera authored
Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments.
-
- 02 Jun, 2009 1 commit
-
-
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.
-
- 01 Jun, 2009 1 commit
-
-
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.
-
- 22 May, 2009 1 commit
-
-
Dean Camera authored
Deleted StdDescriptors.c, renamed USB_GetDescriptor() to CALLBACK_USB_GetDescriptor, moved ConfigDescriptor.c/.h from the LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preperation for the new USB class APIs.
-
- 18 May, 2009 1 commit
-
-
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.
-
- 03 May, 2009 1 commit
-
-
Dean Camera authored
-
- 02 May, 2009 1 commit
-
-
Dean Camera authored
-
- 23 Apr, 2009 1 commit
-
-
Dean Camera authored
Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set Feature request was not being handled). Renamed the FEATURELESS_CONTROL_ONLY_DEVICE compile-time token to CONTROL_ONLY_DEVICE.
-
- 05 Apr, 2009 1 commit
-
-
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.
-
- 23 Feb, 2009 1 commit
-
-
Dean Camera authored
-