aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix Doxygen documentation errors.Dean Camera2011-06-144-4/+4
|
* 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.
* Fix bugs in the Host mode Audio class driver.Dean Camera2011-06-122-5/+5
|
* Add missing AS4 and project description files to the new Audio Host demos.Dean Camera2011-06-099-0/+304
| | | | 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-0910-8/+5259
| | | | | | 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.
* Add additional support files for the new low level AudioInputHost and ↵Dean Camera2011-06-064-0/+3132
| | | | AudioOutputHost demos.
* Move completed low level Audio Host demos into the LowLevel folder from the ↵Dean Camera2011-06-0611-0/+8
| | | | Incomplete folder.
* Update incomplete Host mode Audio demos to use the correct class driver ↵Dean Camera2011-06-062-2/+2
| | | | Endpoint Sampling Frequency Control value constant.
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-0513-14/+14
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* Fixed compile errors in the incomplete BluetoothHost demo application ↵Dean Camera2011-06-052-20/+20
| | | | (thanks to Timo Lindfors).
* Added new callback to the Audio Class driver to allow for endpoint control ↵Dean Camera2011-06-034-8/+24
| | | | | | | | | | | | 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.
* Spell check library source code files.Dean Camera2011-06-013-3/+3
|
* Fixed incorrect signature in the CDC and DFU class bootloaders for the ↵Dean Camera2011-06-012-3/+3
| | | | | | | | ATMEGA8U2. Minor documentation cleanups. Modify the incomplete AudioInputHost demo for mono audio output.
* Added new incomplete AudioOutputHost Host LowLevel demo.Dean Camera2011-05-309-7/+1348
|
* Remove output files from the incomplete AudioInputHost demo, and improve the ↵Dean Camera2011-05-3010-8128/+48
| | | | logic in the ConfigDescriptor.c device configuration processing routine.
* Added new incomplete AudioInputHost Host LowLevel demo.Dean Camera2011-05-2915-0/+9440
| | | | | | Added missing Audio class control request definitions. Added support for the Audio class GET STATUS request so that it is correctly ACKed when sent by the host.
* Add new USB_Host_SetInterfaceAltSetting() convenience function.Dean Camera2011-05-271-10/+1
|
* Fixed possible invalid program execution when in host mode if corrupt ↵Dean Camera2011-05-141-1/+1
| | | | | | | | descriptor lengths are supplied by the attached device. Minor code cleanups to add const and reformat where missing, as well as abstract out the internal device signature start address into a macro, so that it can be altered to suit particular devices within a single architecture if needed. Add missing documentation to the USB_Device_States_t enum.
* Add incomplete Android Accessory Host LowLevel demo.Dean Camera2011-05-138-0/+2978
|
* Remove redundant type information for bitfield elements, other than the ↵Dean Camera2011-04-101-14/+14
| | | | | | signed/unsignedness of the element. Change type of USB_SelectedPipe and USB_SelectedEndpoint for the AVR32 UC3 architecture to uint32_t to reduce the compiled code size.
* Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean Camera2011-04-041-1/+1
| | | | | | Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
* F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean Camera2011-03-2124-168/+168
| | | | architecture ports.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-1924-24/+120
| | | | 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-3024-24/+24
| | | | name *_Disable().
* Oops - fix up some calls to the old function names, include Serial ↵Dean Camera2011-01-302-1/+2
| | | | 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-3078-103/+150
| | | | | | | | 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.
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-1026-46/+40
| | | | | | | | | | parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
* Update copyright year on all source files.Dean Camera2011-01-01111-219/+219
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-2623-92/+92
| | | | fix incorrect and missing section names.
* Loop in the ClassDriver MIDI device/host demos until there are no more ↵Dean Camera2010-11-052-5/+5
| | | | 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.
* Fix XPLAINBridge code broken during the changes to the Rescue Clock ↵Dean Camera2010-11-0213-155/+217
| | | | | | generation in the AVRISP-MKII clone project. Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose).
* Added standard keyboard HID report scancode defines (thanks to László Monda).Dean Camera2010-10-284-37/+75
|
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-28111-111/+111
| | | | 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-2530-149/+63
| | | | | | | | 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-2446-748/+58
| | | | | | 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-13160-2456/+2611
| | | | tool made by Laszlo Monda
* Fixed LowLevel JoystickHostWithParser demo not saving the chosen HID ↵Dean Camera2010-10-0112-200/+161
| | | | | | interface's report descriptor size. Simplified low level Host demo configuration descriptor parser routines.
* Fix low level host mode demos not correctly fetching the next endpoint when ↵Dean Camera2010-09-3012-9/+45
| | | | | | an invalid interface is discarded. Update the pipe configuration routines in the host mode class drivers so that they use the same new code to enumerate compatible devices to increase reliability. Add support to the host mode class drivers for non-sequential (but non-overlapping with other interface) pipe numbers.
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-3047-545/+584
| | | | | | | | | | on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-2810-34/+34
| | | | | | | | 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-2424-48/+48
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-2424-72/+72
| | | | | | | | 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.
* Reverted modifications to USBInterrupt.h that were intefering with correct ↵Dean Camera2010-09-221-1/+1
| | | | | | | | host mode operation. Fixed SUSPI interrupt not being cleared during device mode enumeration, causing accidental mis-fires on re-enumeration. Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode.
* Make project makefiles correctly clean intermeditary build files from ↵Dean Camera2010-09-1524-48/+48
| | | | 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-072-6/+3
| | | | the Print Host Class driver.
* Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() ↵Dean Camera2010-09-052-14/+17
| | | | | | | | functions to retrieve the current USB frame number. Added new USB_Host_EnableSOFEvents(), USB_Host_DisableSOFEvents() and EVENT_USB_Host_StartOfFrame() for the user application handling of USB Start of Frame events while in USB Host mode. Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible to free up the Start of Frame flag for interrupt use in the user application.