aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver
Commit message (Collapse)AuthorAgeFilesLines
...
* Update DevChapter9.c - use the Endpoint_ClearStatusStage() function where ↵Dean Camera2009-11-041-11/+11
| | | | | | possible to reduce code size and (potentially) allow for centralized status stage timeouts. Fix Joystick device demo HID descriptors - buttons should be placed outside the Pointer collection.
* Add new CDCMouse ClassDriver device demo, combining a CDC Virtual Serial ↵Dean Camera2009-11-0311-2/+3193
| | | | Port and a HID Mouse.
* Make HID device class driver ignore the previous HID report comparison ↵Dean Camera2009-10-261-18/+18
| | | | buffer when the user sets it to NULL, disabling automatic report comparisons. Update HID device class driver documentation giving previous report buffer limitations.
* Moved USBtoSerial demo the Projects directory, as it is simply an expanded ↵Dean Camera2009-10-1811-3278/+0
| | | | CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
* Fix invalid Event name rule in demo/project makefiles.Dean Camera2009-10-1613-24/+24
|
* Fix AudioOutput and AudioInput class driver demos' descriptors -- incorrect ↵Dean Camera2009-10-144-4/+2
| | | | value was being supplied in the audio descritors field giving the number of discrete audio formats the device supports.
* Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.Dean Camera2009-10-1216-131/+70
| | | | 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.
* Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean Camera2009-10-082-4/+4
| | | | | | demo. Make MouseHost and KeyboardHost ClassDriver demos use the HID Class driver's structures for the boot protocol Mouse/Keyboard report data, rather than rolling their own.
* Application documentation/comment cleanup.Dean Camera2009-10-082-2/+0
|
* Fix broken Endpoint/Pipe stream templates.Dean Camera2009-10-041-17/+10
| | | | Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.
* Changed Audio Class driver sample read/write functions to be inline, to ↵Dean Camera2009-10-032-10/+9
| | | | | | reduce the number of cycles needed to transfer samples to and from the device (allowing more time for processing and output). Fixed ClassDriver AudioOutput demo not selecting an audio output mode.
* Cleanups to the Device mode Mass Storage demo applications' SCSI routines.Dean Camera2009-10-022-52/+28
|
* Removed mostly useless "TestApp" demo, as it was mainly useful only for ↵Dean Camera2009-09-301-3/+8
| | | | | | | | checking for sytax errors in the library. MIDI device demos now receive MIDI events from the host and display note ON messages via the board LEDs. Added beginnings of a MIDI class bootloader.
* Add new error condition to the HID Report Parser for when a report is parsed ↵Dean Camera2009-09-221-2/+4
| | | | but no unfiltered items are encountered (i.e. nothing of interest in the device report). Make all host HID "WithParser" demos print the new error condition.
* Move Dataflash operational checking code out from SCSI.c into the ↵Dean Camera2009-09-223-29/+36
| | | | DataflashManager.c in the Device mode Mass Storage demos.
* Finish initial draft of the Host Mode HID Class driver.Dean Camera2009-09-214-4/+4
| | | | Add new MouseHostWithParser and KeyboardHostWithParser Host Class driver demos.
* Added new MassStorageKeyboard Device Class Driver demo (thanks to Matthias ↵Dean Camera2009-09-2116-2/+4190
| | | | Hullin).
* Fix broken KeyboardMouse ClassDriver device demo - use internal HID Class ↵Dean Camera2009-09-211-21/+0
| | | | Driver structures for boot protocol reports.
* Remove type definitions of the keyboard and mouse boot protocol report ↵Dean Camera2009-09-202-22/+0
| | | | layouts from the Device Class Driver demos, as they are now located inside the class driver.
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-205-6/+6
| | | | | | | | is frozen. Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID. More additions to the unfinished HID Host Class Driver.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-0913-26/+13
| | | | | | 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.
* Add Host mode Class driver demo summaries.Dean Camera2009-09-091-1/+1
|
* Remove information about 64 bit Windows OS signing requirements for the CDC ↵Dean Camera2009-09-073-21/+0
| | | | based demos -- apparently the native CDC driver can be installed without first disabling the OS's driver signing requirements.
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-0613-392/+612
| | | | | | | | compilation errors when invalid event names are used in a project. Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.) Fix allowable F_CPU values comment in project makefiles.
* Added 64 bit OS driver installation instructions to the readme for all CDC ↵Dean Camera2009-09-063-0/+21
| | | | based projects.
* Changed Still Image Host class driver to auto-fill TransactionID element of ↵Dean Camera2009-09-063-94/+246
| | | | | | | | 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.
* Move check for devices not supporting internal serials in demos which make ↵Dean Camera2009-09-018-16/+48
| | | | use of USE_INTERNAL_SERIAL to Descriptors.c from Descriptors.h so that the warning is only generated at most once per compilation.
* Remove deleted source files from the Device mode Class driver demos to ↵Dean Camera2009-08-303-3/+0
| | | | enable them to be built.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-3013-13/+13
|
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-262-86/+0
| | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.
* Fixed AVRISP programmer demo -- can now connect to a target and read/write ↵Dean Camera2009-08-231-1/+2
| | | | | | | | 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.
* Fix misspelt event name in the Class driver USBtoSerial demo, preventing ↵Dean Camera2009-08-161-1/+1
| | | | correct operation.
* Fix USBtoSerial device demos -- ensure the UDR1 register contents is read in ↵Dean Camera2009-08-161-1/+3
| | | | under all circumstances which fire the ISR, so that the receive complete interrupt is cleared correctly to prevent freezes.
* Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean Camera2009-08-1610-43/+26
| | | | USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
* Adjust endpoint polling intervals for HID demos, to make them compliant with ↵Dean Camera2009-08-135-6/+6
| | | | the 10ms minimum polling period for Low Speed devices.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-1310-23/+23
|
* Add CDC Host class driver EVENT_CDC_Host_ControLineStateChanged() event.Dean Camera2009-08-111-1/+1
| | | | Minor documentation fixes.
* Fixed swapped paremeters in the HID state memory copy call while processing ↵Dean Camera2009-08-112-18/+4
| | | | | | | | | | 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.
* Cleanups to RNDIS device demos. Fix issue in RNDIS demos where the memory ↵Dean Camera2009-08-079-35/+45
| | | | | | | | would become corrupted due to an incorrect bounds check when iterating over the port state table, causing random resets. Revert change to Template_Endpoint_Control_R.c, which broke control stream reads. Remove uneeded ADC.h include in the class driver AudioOutput demo.
* Simplify CDC device demos, by directly assigning the string to transmit to ↵Dean Camera2009-08-062-28/+10
| | | | the pointer, rather than using an intermediatary table to hold all the possible transmit strings.
* Fixed issue in USBtoSerial demos where the USART Rx line was not having its ↵Dean Camera2009-08-052-2/+1
| | | | | | | | pullup enabled at startup, leading to noise being received from the Rx pin when left floating. Removed unused relative Common.h header include from the DriverStubs board stub drivers. Fixed Benito programmer, use the correct LED functions where needed to ensure correct status display at all times.
* Make Control Endpoint stream transfers more reliable by adding in early ↵Dean Camera2009-08-052-12/+17
| | | | | | | | aborts for unexpected new SETUP tokens, or unexpected status stage during control stream writes. Fix corruption in Device RNDIS demos TCP stack when too many connections attempted simultaneously, freezing the device when a page was re-fetched before the first connection was closed. Fix incorrect model compatibility information in the Host LowLevel demo overview text files.
* Changed over manual loops waiting for endpoints to be ready to use the ↵Dean Camera2009-08-052-21/+9
| | | | library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices.
* Fix incorrect Event call name in USBInterrupt.c.Dean Camera2009-08-052-5/+5
|
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-0526-134/+134
| | | | | | | | 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.
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-0226-26/+26
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Make both LowLevel and ClassDriver AudioOutput demos always output to board ↵Dean Camera2009-08-022-21/+14
| | | | LEDs, regardless of output mode (removed AUDIO_OUT_LEDS compile time option from the demo). This allows for positive feedback to the user of audio activity regardless of output mode.
* Fixed the ClassDriver GenericHID demo so that it echoes back reports as ↵Dean Camera2009-07-312-5/+18
| | | | indicated in the demo overview.
* Fix demos based on the device mode HID class driver, as well as the driver ↵Dean Camera2009-07-3110-38/+90
| | | | itself. Changed HID device class driver to require the user to give a buffer and size to hold the previously generated report, for comparison purposes, and altered the prototype of the CALLBACK_HID_Device_CreateHIDReport() function so that reports can be sent to the host even if there are no apparent changes (useful for relative movements in mice, etc.).
* Add new HID_Device_MillisecondElapsed() function to the HID device Class ↵Dean Camera2009-07-306-24/+7
| | | | driver, to move the burden of managing the Idle period of each instance to the library and not the user application.