aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/LowLevel
AgeCommit message (Collapse)Author
2011-11-16Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver ↵Dean
(thanks to Laszlo Monda). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1977 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-09Add missing SVN eol-style property to ensure that source code line endings ↵Dean
and converted to the native values on checkout. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1975 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-10-09Fixed port state table corruption in the TCP layer of the RNDIS Ethernet ↵Dean
device demos. Fix additional warnings under GCC 4.6. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1940 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-09-21Add project name to the Doxygen makefile target output.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1930 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-09-21Add const qualifier to all PROGMEM data to prevent warnings in newer AVR-GCC ↵Dean
compiler versions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1927 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-09-21Fix Class Driver GenericHID demo using the wrong size for the returned reports.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1925 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-08-22Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1911 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-30Fixed incorrect Dataflash buffer use in the ↵Dean
DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1900 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-25Fixed USB_USBTask not being called internally in stream transfers between ↵Dean
packets when Partial Stream Transfers are used. Remove old unused function prototype in the LowLevel MassStorage device demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1896 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-19Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean
ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1895 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-11More endianness porting of the LUFA device mode class drivers.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1858 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-02Oops: Fix compile error in the low level KeyboardMouse demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1839 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-01Seperate out the device demos and project's configuration descriptor ↵Dean
structure definitions to clearly indicate what descriptors belong to which interface. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1837 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-20Add new "checksource" target to the library makefiles, for automated source ↵Dean
file existance checking. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1821 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-14Fix Doxygen documentation errors.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1802 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-09Add missing AS4 and project description files to the new Audio Host demos.Dean
Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1795 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-07Fix errors in the Audio device demos and class driver regarding multiple ↵Dean
sample frequency support. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1787 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-06Update the Low Level Audio Input and Audio Output demos to support multiple ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1783 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-05Massive corrections to the project documentation and code comments, thanks ↵Dean
to Russian translation services provided by Andrey from Microsin.ru. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1782 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-03Added new callback to the Audio Class driver to allow for endpoint control ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1779 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-01Spell check library source code files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1777 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-30Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1774 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-29Added new incomplete AudioInputHost Host LowLevel demo.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1771 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-22Add RNDIS Device support to the Webserver project, so that the files stored ↵Dean
on the device can be viewed from a web-browser while the board is plugged into a host machine. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1759 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-18Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and ↵Dean
RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver. Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1757 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-10Remove redundant type information for bitfield elements, other than the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1733 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-04Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1726 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-23Use the MIN() macro where possible instead of manual "(x < y) ? x : y" ↵Dean
constructs. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1723 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-21F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean
architecture ports. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1720 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-05Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent ↵Dean
with the Pipe_ResetPipe() function name. Fix undefined error in Pipe_UC3B.h. Add missing migration notes. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1698 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-19Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean
device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1669 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-10Add static keyword to all project globals whose scope should be restricted ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1661 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-06Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.Dean
Add const to all project descriptor definitions for safety. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1655 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-06Fix incorrect #include filenames in the RNDIS demos.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1652 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-30Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1646 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-30Oops - forgot to add in LOGICAL MINIMUM and LOGICAL MAXIMUM report items ↵Dean
into the standard library Joystick HID report descriptor macro. Add in support for joystick resolution reporting via PHYSICAL_MINIMUM and PHYSICAL_MAXIMUM items. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1645 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-30Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1644 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-23Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and ↵Dean
HID_DESCRIPTOR_JOYSTICK macros for easy automatic creation of basic USB HID device reports. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1642 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-23Change over Joystick demo HID report descriptor to use USAGE_MINIMUM and ↵Dean
USAGE_MAXIMUM when describing the joystick buttons, to allow for easy extension of the number of supported buttons. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1641 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-17Abuse the the C preprocessor so that the HID macros can automatically encode ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1638 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-16New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean
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/. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1635 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-10Fix typos and outdated information.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1630 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-10Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1628 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-12-26Documentation improvements - put driver example code into its own section, ↵Dean
fix incorrect and missing section names. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1616 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-12-17Fixed incorrect endpoint initialisation order in the LowLevel ↵Dean
DualVirtualSerial demo (thanks to Rick Drolet). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1605 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-29Fixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1597 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-26Added ability to write protect Mass Storage disk write operations from the ↵Dean
host OS. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1594 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-22Lower bulk endpoint polling rate in the descriptors to the lowest possible ↵Dean
value to give maximum throughput. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1588 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-10Fixed incorrect PollingIntervalMS values in the demo/project/bootloader ↵Dean
endpoint descriptors (thanks to MCS Electronics). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1576 d5102386-fcda-11dd-9fdb-3debd5008f28