summaryrefslogtreecommitdiff
path: root/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.c
AgeCommit message (Collapse)Author
2011-07-15Add missing SVN eol-style property to files where it was missing.LUFA-110528-BETADean
git-svn-id: http://lufa-lib.googlecode.com/svn/tags/LUFA-110528-BETA@1887 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-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-01-13Added new high level TWI packet read/write commands, altered behaviour of ↵Dean
the TWI_StartTransmission() function. Spell check source code files. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1633 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-11-05Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean
EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1556 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-30Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1502 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-08-22Changed all Device mode LowLevel demos and Device Class drivers so that the ↵Dean
control request is acknowledged and any data transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will not break communications with the host by exceeding the maximum control request stage timeout period. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1448 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-08-09Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean
use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1438 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-08-09Add notification endpoint to the incomplete TMC demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1437 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-08-08Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean
systems, due to the recent update to the latest WinAVR makefile template. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1435 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-31Fixed Serial peripheral driver not turning off the USART before ↵Dean
reconfiguring it, which would cause incorrect operation to occur (thanks to Bob Paddock). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1428 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-29Spell check all source files once again to find any typos.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1420 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-28Add TMC header read and write functions, so that TMC data can now be ↵Dean
exchanged in both directions. Minor update to the LowLevel MassStorage device demo, so that the ReadInCommandBlock() performs the data OUT endpoint selection and packet arrival test. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1414 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-27Move over message ID specific header data to unions inside the standard TMC ↵Dean
header structure, so that all header data is read in one chunk in the incomplete TMC demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1412 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-26Rename reserved members of all structs so that they are uniformly named ↵Dean
across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1411 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-26Add comments to the currently completed portions of the incomplete Test and ↵Dean
Measurement Class demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1410 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-26Add missing INTERRUPT_CONTROL_ENDPOINT compile time option to the Mass ↵Dean
Storage device projects/demos and incomplete Test and Measurement Class demo, which was accidentally removed during the makefile updates. Alter Test and Measurement Class demo's request handlers to accept, process and correctly return the fields indicated in the specification. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1409 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-26Add stream callback flags and class specific control request handler code to ↵Dean
the incomplete Test and Measurement Class device demo. Change over the keyboard demo's manufacturer name back to the primary author of the demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1408 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-23Add TMC device capabilities to the incomplete TMC demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1406 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-22Added start of a low level device Test and Measurement class demo (thanks to ↵Dean
Peter Lawrence). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1402 d5102386-fcda-11dd-9fdb-3debd5008f28