aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel
Commit message (Collapse)AuthorAgeFilesLines
* Update file contributor copyrights for 2012.Dean Camera2012-02-0473-73/+73
|
* Update file header copyrights for 2012.Dean Camera2012-02-0473-73/+73
|
* Minor documentation improvements.Dean Camera2012-02-011-1/+1
|
* USB_CONFIG_ATTR_BUSPOWERED constant renamed to USB_CONFIG_ATTR_RESERVED, as ↵Dean Camera2012-01-0212-12/+12
| | | | this was misnamed (thanks to NXP Semiconductors).
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-2312-32/+36
| | | | trailing whitespace at the end of each line.
* Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver ↵Dean Camera2011-11-162-2/+2
| | | | (thanks to Laszlo Monda).
* Add missing SVN eol-style property to ensure that source code line endings ↵Dean Camera2011-11-0912-12/+12
| | | | and converted to the native values on checkout.
* Fixed port state table corruption in the TCP layer of the RNDIS Ethernet ↵Dean Camera2011-10-091-3/+3
| | | | | | device demos. Fix additional warnings under GCC 4.6.
* Add project name to the Doxygen makefile target output.Dean Camera2011-09-2112-12/+12
|
* Add const qualifier to all PROGMEM data to prevent warnings in newer AVR-GCC ↵Dean Camera2011-09-212-10/+10
| | | | compiler versions.
* Fix Class Driver GenericHID demo using the wrong size for the returned reports.Dean Camera2011-09-211-1/+1
|
* Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().Dean Camera2011-08-221-10/+24
| | | | | | | | Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines. Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values. Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.
* Fixed incorrect Dataflash buffer use in the ↵Dean Camera2011-07-301-1/+1
| | | | DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden).
* Fixed USB_USBTask not being called internally in stream transfers between ↵Dean Camera2011-07-251-2/+0
| | | | | | packets when Partial Stream Transfers are used. Remove old unused function prototype in the LowLevel MassStorage device demo.
* Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean Camera2011-07-1914-31/+31
| | | | ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
* More endianness porting of the LUFA device mode class drivers.Dean Camera2011-07-112-4/+8
| | | | | | Add endianness information to the class driver and core structure definitions. Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
* Oops: Fix compile error in the low level KeyboardMouse demo.Dean Camera2011-07-021-0/+2
|
* Seperate out the device demos and project's configuration descriptor ↵Dean Camera2011-07-0112-12/+53
| | | | structure definitions to clearly indicate what descriptors belong to which interface.
* Add new "checksource" target to the library makefiles, for automated source ↵Dean Camera2011-06-2012-23/+120
| | | | file existance checking.
* Fix Doxygen documentation errors.Dean Camera2011-06-141-1/+1
|
* Add missing AS4 and project description files to the new Audio Host demos.Dean Camera2011-06-092-10/+0
| | | | Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate).
* Fix errors in the Audio device demos and class driver regarding multiple ↵Dean Camera2011-06-074-16/+16
| | | | sample frequency support.
* Update the Low Level Audio Input and Audio Output demos to support multiple ↵Dean Camera2011-06-066-16/+127
| | | | | | sample rates. Remove custom PIDs on the Class Driver Audio device demos and revert back to the original Audio PIDs, as the low level and class driver demo versions are now descriptor compatible once again.
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-058-14/+14
| | | | 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-2/+6
| | | | | | | | | | | | 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-012-2/+2
|
* Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so ↵Dean Camera2011-05-304-5/+14
| | | | that the user is now responsible for supplying the supported audio sampling rates, to allow for multiple audio interfaces with different numbers of supported rates and/or continuous sample rates.
* Added new incomplete AudioInputHost Host LowLevel demo.Dean Camera2011-05-292-0/+18
| | | | | | 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 RNDIS Device support to the Webserver project, so that the files stored ↵Dean Camera2011-05-221-1/+1
| | | | on the device can be viewed from a web-browser while the board is plugged into a host machine.
* 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.