aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel
Commit message (Collapse)AuthorAgeFilesLines
* Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and ↵Dean Camera2011-05-183-11/+6
| | | | | | RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver. Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure.
* Remove redundant type information for bitfield elements, other than the ↵Dean Camera2011-04-103-60/+60
| | | | | | 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-048-50/+50
| | | | | | 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.
* Use the MIN() macro where possible instead of manual "(x < y) ? x : y" ↵Dean Camera2011-03-232-4/+3
| | | | constructs.
* F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean Camera2011-03-2112-84/+84
| | | | architecture ports.
* Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent ↵Dean Camera2011-03-051-2/+2
| | | | | | | | with the Pipe_ResetPipe() function name. Fix undefined error in Pipe_UC3B.h. Add missing migration notes.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-1912-12/+60
| | | | 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-108-24/+27
| | | | | | 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.
* Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.Dean Camera2011-02-0612-66/+66
| | | | Add const to all project descriptor definitions for safety.
* Fix incorrect #include filenames in the RNDIS demos.Dean Camera2011-02-061-1/+1
|
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-303-4/+6
| | | | | | | | 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.
* Oops - forgot to add in LOGICAL MINIMUM and LOGICAL MAXIMUM report items ↵Dean Camera2011-01-301-1/+3
| | | | into the standard library Joystick HID report descriptor macro. Add in support for joystick resolution reporting via PHYSICAL_MINIMUM and PHYSICAL_MAXIMUM items.
* Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean Camera2011-01-305-13/+13
| | | | | | | | | | | | ClassDriver demos to use it. Fix reversed byte ordering of multi-byte HID data. Added support to the HID parser for extended USAGE items that contain the usage page as well as the usage index. Removed the HID_IOF_NON_VOLATILE and HID_IOF_VOLATILE flags from HID INPUT items where the flag is invalid. Changed over HID OUTPUT items to use HID_IOF_NON_VOLATILE. Change over MagStripe project to use HID_DESCRIPTOR_KEYBOARD() for its HID report. Change over MouseHostDevice demo to use HID_DESCRIPTOR_MOUSE() for its HID report.
* Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and ↵Dean Camera2011-01-233-4/+4
| | | | HID_DESCRIPTOR_JOYSTICK macros for easy automatic creation of basic USB HID device reports.
* Change over Joystick demo HID report descriptor to use USAGE_MINIMUM and ↵Dean Camera2011-01-231-2/+2
| | | | USAGE_MAXIMUM when describing the joystick buttons, to allow for easy extension of the number of supported buttons.
* Abuse the the C preprocessor so that the HID macros can automatically encode ↵Dean Camera2011-01-175-163/+152
| | | | data into the array from the HID macros automagically, by specifying the bit-width of the data, and the data itself as a single integer value of that width.
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-165-158/+172
| | | | | | | | and editing of HID report descriptors. Changed over all project and demo HID report descriptors to use the new HID report item macros. Moved the HIDParser.c source file to the LUFA/Drivers/USB/Class/Common/ directory from the LUFA/Drivers/USB/Class/Host/.
* Fix typos and outdated information.Dean Camera2011-01-101-11/+10
|
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-1020-70/+52
| | | | | | | | | | 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-0174-147/+147
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-2612-48/+48
| | | | fix incorrect and missing section names.
* Fixed incorrect endpoint initialisation order in the LowLevel ↵Dean Camera2010-12-171-7/+7
| | | | DualVirtualSerial demo (thanks to Rick Drolet).
* Fixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo.Dean Camera2010-11-291-1/+1
|
* Added ability to write protect Mass Storage disk write operations from the ↵Dean Camera2010-11-263-2/+42
| | | | host OS.
* Lower bulk endpoint polling rate in the descriptors to the lowest possible ↵Dean Camera2010-11-225-12/+12
| | | | value to give maximum throughput.
* Fixed incorrect PollingIntervalMS values in the demo/project/bootloader ↵Dean Camera2010-11-1012-24/+24
| | | | endpoint descriptors (thanks to MCS Electronics).
* Added board hardware driver support for the Adafruit U4 breakout board.Dean Camera2010-11-082-2/+2
| | | | | | Fixed calculation of timer register reload values derived from F_CPU; must subtract one from the division result for the compare value to be correct. Change AVRISP-MKII rescue clock speed to 4MHz to ensure that a 125KHz ISP speed works regardless of the target's fuses (i.e. DIV8 set).
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-0522-55/+55
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Loop in the ClassDriver MIDI device/host demos until there are no more ↵Dean Camera2010-11-051-2/+6
| | | | 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-021-1/+1
| | | | | | 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-282-11/+11
|
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-2876-77/+77
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Changed AudioInput and AudioOutput demos to reload the next sample via an ↵Dean Camera2010-10-264-65/+47
| | | | interrupt rather than polling the sample timer.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-2513-112/+111
| | | | | | | | 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-2451-1863/+258
| | | | | | 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.
* Added default test tone generation mode to the Device mode AudioInput demos.Dean Camera2010-10-204-11/+36
|
* Minor documentation corrections.Dean Camera2010-10-132-9/+9
|
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-13100-2063/+2161
| | | | tool made by Laszlo Monda
* Fix incorrectly named configuration descriptor callback routines in the host ↵Dean Camera2010-09-301-1/+1
| | | | | | mode class drivers. Fix typo in MIDI low level device demo.
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-3018-36/+36
| | | | | | | | | | 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.
* Fix up incorrect version numbers in demo/project descriptors.Dean Camera2010-09-285-6/+6
| | | | Add class name prefixes to missed constants in the class drivers to give all class driver elements a consistent namespace.
* Added CDC functional descriptor structs to the Low Level CDC demos and CDC ↵Dean Camera2010-09-286-101/+162
| | | | | | class bootloader, to improve the readability of the descriptors. Fixed BootloaderCDC project failing on some operating systems due to removed Line Encoding options (thanks to Alexey Belyaev).
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-287-45/+27
| | | | | | | | 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-2412-24/+24
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-2412-36/+36
| | | | | | | | 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-1512-24/+24
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Fix typos in the project overview text files.Dean Camera2010-09-098-11/+11
|
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-3112-42/+42
| | | | USB AVR device "series" comprises of.
* Remove remaining void* descriptor casts in the projects and demos that were ↵Dean Camera2010-08-291-2/+2
| | | | not removed when the GetDescriptor callback function's signature was altered.
* Fixed LowLevel PrinterHost demo not sending control requests to the attached ↵Dean Camera2010-08-241-1/+1
| | | | printer with the correct printer interface wIndex value.