aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver
Commit message (Collapse)AuthorAgeFilesLines
* Update file contributor copyrights for 2012.Dean Camera2012-02-0428-28/+28
|
* Update file header copyrights for 2012.Dean Camera2012-02-0428-28/+28
|
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-2312-16/+18
| | | | trailing whitespace at the end of each line.
* Add new Android Open Accessory class driver to the library core and add a ↵Dean Camera2011-11-247-0/+2660
| | | | new Android Open Accessory Host ClassDriver demo.
* Add missing SVN eol-style property to ensure that source code line endings ↵Dean Camera2011-11-0913-13/+13
| | | | and converted to the native values on checkout.
* Add project name to the Doxygen makefile target output.Dean Camera2011-09-2113-13/+13
|
* Add missing device deconfiguration-on-error statements to the host mode ↵Dean Camera2011-07-087-0/+9
| | | | demos and projects.
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-0824-1126/+1074
| | | | | | | | | | | | | | EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task. Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device. Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*. Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required. Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required. Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
* Add new "checksource" target to the library makefiles, for automated source ↵Dean Camera2011-06-2013-26/+130
| | | | file existance checking.
* Add missing SVN eol-style properties to source files to prevent mixed ↵Dean Camera2011-06-1610-5370/+5370
| | | | end-of-line characters.
* Rename new Audio class driver functions, callbacks and events to ensure that ↵Dean Camera2011-06-162-6/+6
| | | | they contain the USB mode (Device or Host) in the function names.
* Ensure that only the requested Audio class pipes are mapped to endpoints ↵Dean Camera2011-06-131-1/+1
| | | | | | within the device for a specific Audio Host Class driver instance. Fix const-correctness of the Audio Host Class driver.
* Add missing AS4 and project description files to the new Audio Host demos.Dean Camera2011-06-096-0/+157
| | | | Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate).
* Add new Audio Class Driver Host demos.Dean Camera2011-06-098-0/+5223
| | | | | | 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.
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-052-2/+2
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* Added new callback to the Audio Class driver to allow for endpoint control ↵Dean Camera2011-06-032-4/+12
| | | | | | | | | | | | 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.
* F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean Camera2011-03-2111-77/+77
| | | | architecture ports.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-1911-11/+55
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-107-4/+8
| | | | | | 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.
* Renamed all driver termination *_ShutDown() functions to the more logical ↵Dean Camera2011-01-3011-11/+11
| | | | name *_Disable().
* Oops - fix up some calls to the old function names, include Serial ↵Dean Camera2011-01-301-0/+1
| | | | Peripheral driver in the RNDISEthernetHost project.
* Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and ↵Dean Camera2011-01-301-1/+1
| | | | | | CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead. Added new Serial_SendData() function to the Serial driver.
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-3033-45/+66
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.
* Update copyright year on all source files.Dean Camera2011-01-0123-45/+45
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-2611-44/+44
| | | | fix incorrect and missing section names.
* Loop in the ClassDriver MIDI device/host demos until there are no more ↵Dean Camera2010-11-051-1/+1
| | | | incomming events to process. Only clear the endpoint/pipe bank in the LowLevel MIDI device/host demos when the endpoint is empty after an event read.
* Added standard keyboard HID report scancode defines (thanks to László Monda).Dean Camera2010-10-282-19/+37
|
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-2823-23/+23
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-255-5/+5
| | | | | | | | modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-2411-11/+0
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-1345-659/+704
| | | | tool made by Laszlo Monda
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-286-18/+18
| | | | | | | | make them more managable. Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
* Remove dfu-programmer program switches, to ensure maximum compatibility with ↵Dean Camera2010-09-2411-22/+22
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-2411-33/+33
| | | | | | | | ensure that writes to the bootloader section of the AVR's flash memory are ignored (thanks to Axel Rohde). Fixed incorrect command name for EEPROM memory programming in the makefile dfu-ee target. Makefile whitespace fixes.
* Make project makefiles correctly clean intermeditary build files from ↵Dean Camera2010-09-1511-22/+22
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-091-1/+1
| | | | naming.
* Added new PRNT_Host_BytesReceived() and PRNT_Host_ReceiveByte() functions to ↵Dean Camera2010-09-071-1/+1
| | | | the Print Host Class driver.
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-3111-11/+11
| | | | USB AVR device "series" comprises of.
* Tighten up the code in the delta movement detection code in the ↵Dean Camera2010-08-092-13/+7
| | | | MouseHostWithParser and JoystickHostWithParser demos. Make the ClassDriver JoystickHostWithParser demo use the HID_ALIGN_DATA() macro instead of manual shifting and casting.
* Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-0811-11/+44
| | | | systems, due to the recent update to the latest WinAVR makefile template.
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-0211-11/+22
| | | | in some situations.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-3011-11/+11
| | | | EN-GB spelling dictionary.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-301-4/+3
| | | | | | that no data is indicated by a negative return value. Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
* Spell check all source files once again to find any typos.Dean Camera2010-07-2912-21/+21
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-2122-28/+50
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-1911-684/+461
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Change over all makefiles to use C99 standards mode, rather than C99 + GNU ↵Dean Camera2010-07-1811-11/+11
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-1511-0/+11
| | | | apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-1511-198/+66
| | | | | | bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
* Add AVRStudio 4 project files to the ClassDriver Host mode demos.Dean Camera2010-07-1311-0/+11
|