aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/HighLevel
Commit message (Collapse)AuthorAgeFilesLines
* Minor documentation cleanups.Dean Camera2010-06-032-3/+3
|
* Oops - descriptor pointer should be assigned, not incremented with the new ↵Dean Camera2010-06-021-1/+1
| | | | type-safe code.
* Better fix to avoid void pointer arithmetic in ConfigDescriptor.h to regain ↵Dean Camera2010-06-021-16/+4
| | | | C++ compatibility (thanks to Michael Hennebry).
* Remove void* arithmetic in the USB_GetNextDescriptor() static inline ↵Dean Camera2010-05-312-50/+61
| | | | function, to make the header file C++ compatible once again. Implement workaround for an obscure GCC bug which can cause incorrect code generation under some circumstances when the void* is re-cast.
* Small tweaks to ConfigDescriptor.c/.h to ensure pointers use the correct ↵Dean Camera2010-05-302-10/+8
| | | | type, and to remove const attribute from the descriptor comparator callback function pointer type define, and into the function prototype instead.
* Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs ↵Dean Camera2010-05-301-1/+4
| | | | (thanks to Axel Rohde).
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-292-18/+18
|
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-0810-2216/+2216
| | | | correctly converted to the target system's native end of line style.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-282-346/+0
| | | | LowLevel directory as it is hardware-dependent.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-133-1/+13
| | | | | | | | 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 briefs for the library core structures.Dean Camera2010-03-292-15/+45
|
* Add file-level brief documentation.Dean Camera2010-03-298-5/+87
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* Fixed compilation error in the AudioInput demos when ↵Dean Camera2010-03-241-2/+1
| | | | | | | | 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.
* Fix incorrect error when directly including the LUFA internal USB library ↵Dean Camera2010-02-248-8/+8
| | | | components.
* Revert changes made for the partial port to the AVR32 architecture.Dean Camera2010-02-249-126/+55
|
* More AVR32 achitecture ports.Dean Camera2010-02-243-21/+30
|
* More porting of the USB core to the AVR32.Dean Camera2010-02-238-33/+61
|
* Start porting the USB core to the AVR32 UC3B.Dean Camera2010-02-236-11/+45
|
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-1112-9/+49
| | | | to manually include private driver header files, instead of the public driver headers.
* Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and ↵Dean Camera2010-02-011-2/+2
| | | | | | | | USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen). Mark the AVRISP-MKII project descriptors as being both Bus Powered and Device Powered. Copy over file level documentation of the peripheral drivers to the module level documentation.
* Clean up and add more comments to the AVRISP-MKII project. Make sure the ↵Dean Camera2010-01-171-3/+9
| | | | SPI_MULTI command handler supports multiple packet responses. Use slightly smaller/faster repeated indirect-load commands when retrieving the PDI target's memory CRCs.
* Fix XPLAIN Dataflash and LED drivers.Dean Camera2010-01-071-1/+1
|
* Update copyright year to 2010.Dean Camera2009-12-3012-24/+24
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-2812-84/+84
|
* Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options.Dean Camera2009-12-201-0/+1
|
* Oops - wrong casting on the Configuration Descriptor pointer advance routine.Dean Camera2009-12-131-1/+1
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-131-1/+1
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-092-7/+9
| | | | | | | | (up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
* Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent ↵Dean Camera2009-11-301-0/+1
| | | | data to the attached device.
* Fixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 ↵Dean Camera2009-11-291-11/+11
| | | | | | and ATMEGA16U2. Simplified the USB.h master include file's target validity checks.
* Added new XPLAIN serial Bridge project (thanks to John Steggall for the ↵Dean Camera2009-11-251-1/+1
| | | | software UART code).
* Fixed broken USB_GetNextDescriptor() function causing the descriptor to jump ↵Dean Camera2009-11-241-3/+3
| | | | | | ahead double the expected amount. Fixed Pipe_IsEndpointBound() not masking the given Endpoint Address against PIPE_EPNUM_MASK.
* Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.Dean Camera2009-11-231-1/+1
|
* The incomplete StandaloneProgrammer project now uses Host and Device Mass ↵Dean Camera2009-11-231-2/+51
| | | | | | | | | | | | storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick. The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR). The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only. The USB_MODE_HOST token is now defined even when host mode is not available. Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
* Fix doxygen documentation - doxygen was getting confused on the ↵Dean Camera2009-11-171-5/+5
| | | | variable-length ATTR_NON_NULL_PTR_ARG() macro used on function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons).
* Fixed HOST_STATE_AS_GPIOR being ignored whilst in Host mode (thanks to David ↵Dean Camera2009-11-162-4/+9
| | | | Lyons).
* Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function ↵Dean Camera2009-11-132-5/+5
| | | | to USB_Host_GetDeviceConfigDescriptor().
* Update CDC Class Driver character stream functions to use the correct ↵Dean Camera2009-11-101-2/+2
| | | | | | avr-libc return codes for errors and EOF. Fix pointer arithmetic on void byte buffers by explicitly typecasting the buffer pointers to uint8_t* before altering them.
* Spell check all source code variables, comments and strings.Dean Camera2009-11-092-3/+3
|
* Add optional pipe double banking support to the Host mode Class drivers.Dean Camera2009-11-072-10/+10
| | | | Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST.
* Add double banking property to LUFA powered projects in the Projects ↵Dean Camera2009-11-061-1/+1
| | | | directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
* Fix AudioOutput and AudioInput class driver demos' descriptors -- incorrect ↵Dean Camera2009-10-141-5/+24
| | | | value was being supplied in the audio descritors field giving the number of discrete audio formats the device supports.
* Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function ↵Dean Camera2009-09-171-0/+1
| | | | | | return codes used in comparison to check for success. Add HID Host Class driver functions to set the report protocol, add more class driver documentation.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-093-230/+325
| | | | | | standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
* Corrected incorrect signature bytes for the AT90USB82 and added support for ↵Dean Camera2009-09-071-2/+8
| | | | | | the ATMEGAXX2 variant AVRs to the DFU bootloader. Added warning to the EVENT_USB_Device_Connect() and EVENT_USB_Device_Disconnect() events that they may be fired multiple times during device enumeration on the series 2 AVRs.
* Removed unused INCLUDE_FROM_BOARD_DRIVER internal define from the board ↵Dean Camera2009-08-311-1/+1
| | | | driver dispatch headers.
* Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean Camera2009-08-312-29/+46
| | | | function so that it now performs size checks and data validations internally, to simplify user code.
* Add LOAD ADDRESS command parsing to the V2 Protocol hander in the AVRISP ↵Dean Camera2009-08-201-1/+1
| | | | | | project. Fix up references to functions in the Endpoint/Pipe documentation.
* Added beginnings of a new AVRISP-MKII clone project.Dean Camera2009-08-172-3/+3
| | | | | | 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.
* Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean Camera2009-08-162-0/+20
| | | | USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.