- Jul 19, 2011
-
-
Dean Camera authored
Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
-
- Jun 29, 2011
-
-
Dean Camera authored
Update AudioInput and AudioOutput Class Driver device mode demos to use a switch statement when selecting the audio request type for clarity.
-
- Jun 16, 2011
-
-
Dean Camera authored
Rename new Audio class driver functions, callbacks and events to ensure that they contain the USB mode (Device or Host) in the function names.
-
- Jun 14, 2011
-
-
Dean Camera authored
-
- Jun 09, 2011
-
-
Dean Camera authored
Fix errors in the new Audio Host mode Class Driver, which would have prevented data from being sent or received properly by the device. Add microphone/square wave generation compile time switch to the Low Level AudioOutput Host demo.
-
- Jun 07, 2011
-
-
Dean Camera authored
-
- Jun 06, 2011
-
-
Dean Camera authored
Remove custom PIDs on the Class Driver Audio device demos and revert back to the original Audio PIDs, as the low level and class driver demo versions are now descriptor compatible once again.
-
- Jun 03, 2011
-
-
Dean Camera authored
Added new callback to the Audio Class driver to allow for endpoint control manipulations such as data sample rates. Modified the Class Driver AudioInput and AudioOutput demos to support multiple sample rates. Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed. Fix broken LowLevel audio demo descriptors. Minor documentation fixes.
-
- Feb 10, 2011
-
-
Dean Camera authored
Add static keyword to all project globals whose scope should be restricted to the same module as they are declared in. Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs.
-
- Jan 01, 2011
-
-
Dean Camera authored
-
- Nov 08, 2010
-
-
Dean Camera authored
Fixed calculation of timer register reload values derived from F_CPU; must subtract one from the division result for the compare value to be correct. Change AVRISP-MKII rescue clock speed to 4MHz to ensure that a 125KHz ISP speed works regardless of the target's fuses (i.e. DIV8 set).
-
- Nov 05, 2010
-
-
Dean Camera authored
Renamed the EVENT_USB_Device_UnhandledControlRequest() event to EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
-
- Oct 28, 2010
-
-
Dean Camera authored
Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
-
- Oct 26, 2010
-
-
Dean Camera authored
Changed AudioInput and AudioOutput demos to reload the next sample via an interrupt rather than polling the sample timer.
-
- Oct 20, 2010
-
-
Dean Camera authored
-
- Oct 13, 2010
-
-
Dean Camera authored
-
- Aug 09, 2010
-
-
Dean Camera authored
Removed complicated logic for the Endpoint_ConfigureEndpoint() function to use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
-
- Jun 12, 2010
-
-
Dean Camera authored
Minor fixes to demos to add in some missing comments, printf() formatting. Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
-
- 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.
-
- Apr 28, 2010
-
-
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.
-
- Mar 24, 2010
-
-
Dean Camera authored
Fixed compilation error in the AudioInput demos when MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian). Minor documentation cleanups. Make sure HID class driver uses properly cast pointers when writing to the report buffer.
-
- Jan 25, 2010
-
-
Dean Camera authored
Added explicit ADC channel masks for the standard set of ADC channels, as the single-ended channel MUX masks are not equal to the channel number on some AVR models. Changed demos to use the new channel masks when using the ADC driver.
-
- Dec 30, 2009
-
-
Dean Camera authored
-
- Dec 28, 2009
-
-
Dean Camera authored
-
- Nov 20, 2009
-
-
Dean Camera authored
Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN when the given data length is zero.
-
- Oct 12, 2009
-
-
Dean Camera authored
Fix up demo documentation device compatibility list to be as general as possible to reduce changes required as Atmel releases more devices within the same USB AVR series.
-
- Aug 05, 2009
-
-
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.
-
- Jul 30, 2009
-
-
Dean Camera authored
Make all audio device Class Driver functions require a reference to the Audio class instance, so that the endpoint size can be checked (and to standardize the APIs). Make LEDs more responsive in the AudioOutput device demos.
-
- Jul 27, 2009
-
-
Dean Camera authored
State information for class drivers is now zeroed out during enumeration (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
-
- Jun 18, 2009
-
-
Dean Camera authored
Break device mode class driver interfaces into seperate config and state structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
-
- Jun 11, 2009
-
-
Dean Camera authored
Changed to new device mode Class Driver function name prefixes to make way for similar host mode Class drivers.
-
- Jun 05, 2009
-
-
Dean Camera authored
Move new Class Driver powered demos to a new ClassDriver subdirectory, re-add old low level demos to a LowLevel subdirectory.
-
- Jun 04, 2009
-
-
Dean Camera authored
Ensure all USB device class drivers have the same three main functions as their interface for consistency.
-
Dean Camera authored
Redocumented all device demos, now that they have changed over to the new USB class drivers. Added C linkage to class drivers for C++ support. Added prefixes to most of the class driver constants to prevent name clashes.
-
- 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 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.
-
- Apr 22, 2009
-
-
Dean Camera authored
USB_HostRequest renamed to USB_ControlRequest, entire control request header is now read into USB_ControlRequest in Device mode rather than having the library pass only partially read header data to the application. The USB_UnhandledControlPacket event has had its parameters removed, in favour of accessing the new USB_ControlRequest structure. The Endpoint control stream functions now correctly send a ZLP to the host when less data than requested is sent.
-
- Apr 21, 2009
-
-
Dean Camera authored
Removed specialized Endpoint_ClearControl* and Pipe_ClearControl* macros in favour of the standard Endpoint_Clear* and Pipe_Clear* macros (Atmel have confirmed no effect from setting FIFOCON on control endpoints).
-
- Apr 20, 2009
-
-
Dean Camera authored
Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander).
-
- Apr 16, 2009
-
-
Dean Camera authored
Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei Krainev). Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), Endpoint_ClearControlIN(), Endpoint_ClearControlOUT(), Pipe_ClearIN(), Pipe_ClearOUT(), Pipe_ClearControlIN() and Pipe_ClearControlOUT() macros (done to allow for the detection of packets of zero length). Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API. Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been renamed to Endpoint_ClearControlSETUP(), the Pipe_IsSetupSent() macro has been renamed to Pipe_IsSETUPSent() and the Pipe_ClearSetupSent() macro is no longer applicable and should be removed - changes made to compliment the new endpoint and pipe bank management API. Updated all demos, bootloaders and projects to use the new endpoint and pipe management APIs (thanks to Roman Thiel). Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity. Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity. Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway.
-