aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/DevChapter9.h
Commit message (Collapse)AuthorAgeFilesLines
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-161-1/+1
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs ↵Dean Camera2010-05-301-1/+1
| | | | (thanks to Axel Rohde).
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-164/+164
| | | | correctly converted to the target system's native end of line style.
* Fixed device state not being reset back to the default state if the host ↵Dean Camera2010-05-041-0/+1
| | | | | | | | sets the address to 0x00. Fixed Set Configuration requests not being stalled until the host has set the device's address. Fixed possibility of internal signature retrieval being corrupted if an interrupt occurs during a signature byte read (thanks to Andrei Krainev).
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-131-0/+1
| | | | | | | | 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.
* Add file-level brief documentation.Dean Camera2010-03-291-0/+10
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* Fix incorrect error when directly including the LUFA internal USB library ↵Dean Camera2010-02-241-1/+1
| | | | components.
* Revert changes made for the partial port to the AVR32 architecture.Dean Camera2010-02-241-18/+5
|
* More porting of the USB core to the AVR32.Dean Camera2010-02-231-1/+1
|
* Start porting the USB core to the AVR32 UC3B.Dean Camera2010-02-231-4/+17
|
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-111-1/+6
| | | | to manually include private driver header files, instead of the public driver headers.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options.Dean Camera2009-12-201-16/+25
|
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-1/+1
| | | | | | | | 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.
* Cleanup and optimization of the internal serial retrieval routines.Dean Camera2009-08-031-0/+1
| | | | Renamed ATTR_NOINLINE to ATTR_NO_INLINE to fit with the rest of the library function attribute names.
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-021-1/+1
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Added new TOTAL_NUM_CONFIGURATIONS option, removed ↵Dean Camera2009-07-161-5/+28
| | | | | | USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility). Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
* Fix HID class device driver -- if a SetIDle request is issued with the LSB ↵Dean Camera2009-07-151-0/+4
| | | | | | | | of wValue set to zero, the idle period must be set for all HID interfaces. Fix Keyboard and Mouse demos, Idle period is now multiplied by 4 as the period is read into and sent out of the device to ensure it is always stored as a multiple of 1ms. Fixes Keyboard demo using an initial Idle period of 2s rather than 500ms (thanks to Brian Dickman). Move out the internal device serial descriptor reading routine into a seperate static function, rather than being part of USB_Device_GetDescriptor.
* Corrected the ADC driver for the ATMEGA16U4 and ATMEGA32U4 (thanks to ↵Dean Camera2009-06-221-2/+0
| | | | Opendous Inc.).
* Added new USE_INTERNAL_SERIAL define for using the unique serial numbers in ↵Dean Camera2009-06-211-10/+1
| | | | some AVR models as the USB device's serial number, added NO_INTERNAL_SERIAL compile time option to turn off new serial number reading code. Updated Mass Storage and CDC based demos to use the new device serial number if the device it is compiled for supports it.
* Added USE_INTERNAL_SERIAL compile time option to automatically read out the ↵Dean Camera2009-06-201-0/+12
| | | | internal unique serial number as the device's serial number descriptor on supported AVR models.
* Rewritten event system to remove all macros, to make user code clearer.Dean Camera2009-05-181-23/+0
| | | | | | | | 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.
* Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent ↵Dean Camera2009-05-041-3/+3
| | | | | | problems with faulty devices which do not respect the given wLength value when reading in the device descriptor. Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references.
* Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set ↵Dean Camera2009-04-231-2/+0
| | | | | | Feature request was not being handled). Renamed the FEATURELESS_CONTROL_ONLY_DEVICE compile-time token to CONTROL_ONLY_DEVICE.
* Documentation enhancements to improve documentation cross-references.Dean Camera2009-04-221-4/+4
|
* USB_HostRequest renamed to USB_ControlRequest, entire control request header ↵Dean Camera2009-04-221-2/+3
| | | | | | | | 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.
* More documentation changes for better module-level documentation rather than ↵Dean Camera2009-04-171-8/+0
| | | | file-level documentation.
* Fixed GenericHIDHost demo report write routine incorrect for control type ↵Dean Camera2009-04-161-0/+6
| | | | | | | | | | | | | | | | | | 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.
* Move StdRequestType.h, StreamCallbacks.h, USBMode.h from the LowLevel USB ↵Dean Camera2009-04-051-1/+1
| | | | driver directory to the HighLevel USB driver directory, where they are more suited.
* Renamed NO_CLEARSET_FEATURE_REQUEST compile time token to ↵Dean Camera2009-03-111-1/+1
| | | | NO_FEATURELESS_CONTROL_ONLY_DEVICE and expanded its function to also remove parts of the Get Status chapter 9 request, to further reduce code usage.
* Moved all source to the trunk directory.Dean Camera2009-02-231-0/+135