aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
Commit message (Collapse)AuthorAgeFilesLines
* Prevent the CDC Device Class driver from sending empty IN packets on every ↵Dean Camera2009-09-103-14/+18
| | | | service task call - only send termination packets when data is in the endpoint.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-0911-275/+380
| | | | | | 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.
* Change HID report parser so that it can calculate and record the sizes (IN, ↵Dean Camera2009-09-092-20/+66
| | | | | | OUT and FEATURE) of each report within the device, by report ID. This will be required in host mode, so that the host can determine how many bytes of data must be read in for each report. Add to MouseHostWithParser and KeyboardHostWithParser demos to print out the report sizes when a valid device is connected.
* Finish Still Image Host class driver.Dean Camera2009-09-094-21/+104
|
* 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.
* Changed Still Image Host class driver to auto-fill TransactionID element of ↵Dean Camera2009-09-062-14/+44
| | | | | | | | sent headers depending on the current session state. CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker). The Benito Programmer project now has its own unique VID/PID pair allocated from the Atmel donated LUFA VID/PID pool.
* Add StillImage Host Class Driver functions for opening and closing sessions. ↵Dean Camera2009-09-0212-133/+169
| | | | | | Ensure IsActive is set on the interface to allow device functions to run. Fix spelling of "Received" in all source files where it is misspelt "Recieved".
* Add user-filtering to the HID report parser, so that the user code can ↵Dean Camera2009-09-022-54/+49
| | | | decide which items are to be stored into the HID_ReportInfo_t structure and which should be discarded to save on RAM usage.
* Changed HIDParser to only zero out important values in the Parsed HID Report ↵Dean Camera2009-09-011-2/+7
| | | | Item Information structure to save cycles.
* Added documentation for the constants and enums of the new StillImage Host ↵Dean Camera2009-09-013-27/+37
| | | | Class driver added to the library so far.
* Fixed StillImageHost not correctly freezing and unfreezing data pipes while ↵Dean Camera2009-09-014-10/+171
| | | | | | waiting for a response block header. Added basic PIMA commands to the StillImage Host Class driver - need to extend to PIMA specific command functions.
* Add return codes to the CDC Host Class driver String/Byte transmission ↵Dean Camera2009-08-314-10/+23
| | | | functions.
* Add extra check for OUT ZLP in the CDC Device Class driver service task to ↵Dean Camera2009-08-311-0/+5
| | | | quickly clear zero-length termination packets from the host.
* Removed unused INCLUDE_FROM_BOARD_DRIVER internal define from the board ↵Dean Camera2009-08-315-5/+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.
* Remove deleted source files from the LUFA library makefile.Dean Camera2009-08-302-8/+8
| | | | Renamed parameters of SI_Host_ConfigurePipes() to match other Host mode Class drivers.
* Added start of the Still Image Host Class driver demo and driver code.Dean Camera2009-08-309-20/+254
| | | | Re-enabled building of the Host mode demos ClassDriver directory.
* Remove skeleton Audio and MIDI Host mode Class drivers -- will not implement ↵Dean Camera2009-08-307-223/+0
| | | | in next release.
* Fixed Device mode HID Class driver not explicitly initializing the ↵Dean Camera2009-08-271-4/+4
| | | | ReportSize parameter to zero before calling callback routine, so that ignored callbacks don't cause incorrect data to be sent.
* Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵Dean Camera2009-08-271-3/+5
| | | | | | save on FLASH space. Fixed issue in AVRISP project where the target RESET line was being toggled before it was tristated, causing problems synchronising to some targets (thanks to Mike Alex).
* Add check to Pipe_IsEndpointBound() in the Mass Storage Host mode Class ↵Dean Camera2009-08-271-2/+5
| | | | driver to ensure that multiple instances of the driver can be used on a single device with multiple Mass Storage interfaces.
* Simplified Host mode Mass Storage Class driver to reduce compiled program size.Dean Camera2009-08-272-102/+47
|
* Fix memory corruption in Host mode Mass Storage Class driver.Dean Camera2009-08-271-2/+2
|
* Added better USB Class driver overviews.Dean Camera2009-08-277-15/+45
|
* Added new "Common" section to the class drivers, to hold all ↵Dean Camera2009-08-2710-87/+163
| | | | | | mode-independant definitions for clarity. Moved SCSI command/sense constants into the Mass Storage Class driver, instead of the user-code.
* Added extra note about missing OUT endpoint configuration to the HID Device ↵Dean Camera2009-08-271-0/+4
| | | | | | mode Class driver. Added pinout information to the AVRISP project.
* Fixed Device mode HID Class driver always sending IN reports, even when no ↵Dean Camera2009-08-271-3/+3
| | | | data is to be reported.
* Minor documentation fixes to the completed Host mode Class drivers.Dean Camera2009-08-273-6/+12
|
* Completed initial Host mode Mass Storage class driver.Dean Camera2009-08-272-10/+271
|
* Added MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host ↵Dean Camera2009-08-262-13/+137
| | | | mode Mass Storage Class driver.
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-264-4/+133
| | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.
* Oops: Really disable building of Projects/Host/ClassDriver directory in the ↵Dean Camera2009-08-263-16/+55
| | | | | | | | Projects/Host/ makefile. Add more skeleton functions and definitions to the Mass Storage Host mode Class driver. Made Endpoint_Write_DWord_* functions echo the structure of the matching Endpoint routines for clarity.
* More work on the Mass Storage Host mode Class driver.Dean Camera2009-08-2610-77/+398
| | | | | | Added ATTR_NON_NULL_PTR_ARG() attributes to the class drivers to improve user code reliability by disallowing explicit NULL pointers as pointer parameters in function calls where the parameter must not be NULL. Disabled building of the Demos/Host/ClassDriver directory until Host Mode Class drivers are complete to prevent build errors in the meantime.
* Optimized Endpoint_Read_Word_* and Pipe_Read_Word_* macros to reduce ↵Dean Camera2009-08-252-16/+32
| | | | | | compiled size. Fixed Programmer's Notepad project file to reflect new location of AVRISP project.
* Updated Benito project -- added hardware interrupt and software buffering ↵Dean Camera2009-08-251-0/+3
| | | | | | | | for serial data reception to prevent missed characters, condensed pulse generation counters into a struct for clarity. Added check to CDC_Device_BytesReceived() to ensure 0 is returned when device is not enumerated to a host. Move AVRISP project's V2Protocol_DelayMS() function to be static inline, as it is now very minimal. Added extra project doxygen documentation.
* Fixed AVRISP programmer demo -- can now connect to a target and read/write ↵Dean Camera2009-08-232-14/+27
| | | | | | | | Sig/Lock/Fuse/OSCCAL bytes successfully. Changed SPI_Init() to allow for the clock polarity and data sample modes to be set. Changed Dataflash_Init() to no longer call SPI_Init() automatically.
* Added V2Protocol handlers to the AVRISP project to enter/exit programming ↵Dean Camera2009-08-234-3/+34
| | | | | | mode, and read/write fuses, lockbits, OSCCAL and Signature bytes. Added ShutDown functions for all hardware peripheral drivers, so that peripherals can be turned off after use.
* Add LOAD ADDRESS command parsing to the V2 Protocol hander in the AVRISP ↵Dean Camera2009-08-203-22/+22
| | | | | | project. Fix up references to functions in the Endpoint/Pipe documentation.
* Fixed invalid data being returned when a GetStatus request is issued in ↵Dean Camera2009-08-181-0/+2
| | | | | | Device mode with an unhandled data recipient. Fix up Programmers Notepad Project file to show new Projects directory layout. Remove now moved AVRISP project from the Projects directory makefile.
* Added beginnings of a new AVRISP-MKII clone project.Dean Camera2009-08-173-3/+11
| | | | | | 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 return values to the CDC and MIDI class driver transmit functions.Dean Camera2009-08-164-20/+43
|
* Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean Camera2009-08-164-1/+38
| | | | USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
* Added CDC_Device_Flush() command to the CDC Device mode class driver.Dean Camera2009-08-137-22/+186
| | | | | | Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo.
* Added flag to the HID report parser to indicate if a device has multiple ↵Dean Camera2009-08-113-23/+25
| | | | | | | | | | reports. SetIdle requests to the HID device driver with a 0 idle period (send changes only) now only affect the requested HID interface within the device, not all HID interfaces. Apply correct fix to the HID report parser for PUSH items - current HID item attribute stack was being copied in the wrong direction. Fixed HID report parser not resetting the FEATURE item count when a REPORT ID item is encountered.
* Add CDC Host class driver EVENT_CDC_Host_ControLineStateChanged() event.Dean Camera2009-08-112-1/+11
| | | | Minor documentation fixes.
* Document CDC Host class driver functions and enums.Dean Camera2009-08-112-1/+61
|
* Add new functions to the HID host class driver, refine HID interface ↵Dean Camera2009-08-114-18/+51
| | | | | | protocol matching. Remove stray state variable from the CDC host class driver.
* Fixed swapped paremeters in the HID state memory copy call while processing ↵Dean Camera2009-08-114-47/+48
| | | | | | | | | | a HID PUSH item in the HID report parser. Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed. Make RNDIS device class driver include the CDC device class driver header, so that it can inherrit the required CDC functional descriptor macro. Make HID host class driver include the HID report parser.
* Completion of initial CDC host mode class driver.Dean Camera2009-08-113-9/+34
| | | | Adjustments to the CDC and MIDI device class drivers to use sizeof() on the actual variable being transmitted or received rather than its datatype to reduce possible mistakes.
* Fix issue in CDC device class driver where received data the size of the ↵Dean Camera2009-08-115-2/+135
| | | | | | | | data endpoint could lock up the driver. Further work on the new CDC and HID host mode class drivers. Reset changelog et. al. to reset development information for the new version currently under development.