aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/AudioInput/AudioInput.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed GenericHIDHost demo report write routine incorrect for control type ↵Dean Camera2009-04-161-13/+7
| | | | | | | | | | | | | | | | | | requests (thanks to Andrei Krainev). Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), Endpoint_ClearControlIN(), Endpoint_ClearControlOUT(), Pipe_ClearIN(), Pipe_ClearOUT(), Pipe_ClearControlIN() and Pipe_ClearControlOUT() macros (done to allow for the detection of packets of zero length). Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API. Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been renamed to Endpoint_ClearControlSETUP(), the Pipe_IsSetupSent() macro has been renamed to Pipe_IsSETUPSent() and the Pipe_ClearSetupSent() macro is no longer applicable and should be removed - changes made to compliment the new endpoint and pipe bank management API. Updated all demos, bootloaders and projects to use the new endpoint and pipe management APIs (thanks to Roman Thiel). Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity. Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity. Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway.
* Corrected AudioInput and AudioOutput demos, to fix endpoint underflows due ↵Dean Camera2009-04-141-1/+1
| | | | to rounding in the sample reload timer.
* Adjusted sample CTC timer calculations in the AudioOutput and AudioInput ↵Dean Camera2009-04-141-1/+1
| | | | demos to account for situations where the division results in a value with no remainder, requiring one to be subtracted from the result (thanks to Robin Theunis).
* Seperated out OTG, Device and Host mode demos into seperate folders for ↵Dean Camera2009-03-201-0/+228
clarity. Adjusted makefiles so that the path to the LUFA library can be set in one place.