Commit Graph

175 Commits (48c5cdced47897934d8473a3097181d0e9ca8b4c)

Author SHA1 Message Date
Dean Camera 0f45b9c8e0 More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary.
15 years ago
Dean Camera 059307d89c Use static inline intermediatary functions in Endpoint.h to handle the masking for the private endpoint configuration routine, instead of performing the masking in the Endpoint_ConfigureEndpoint() macro.
15 years ago
Dean Camera be2a7d4598 Move over message ID specific header data to unions inside the standard TMC header structure, so that all header data is read in one chunk in the incomplete TMC demo.
15 years ago
Dean Camera eb8a708b53 Update size of compiled Mouse demo in documentation, fix indenting in Device.h.
15 years ago
Dean Camera 9b0e4b8356 Convert over internal pseudo-function macros to true inline functions for added type-safety and compile-checking.
15 years ago
Dean Camera 83e293a6ec Replace internal Pipe_BytesToEPSizeMask() routine with a new version which results in smaller code.
15 years ago
Dean Camera 97143bf814 Add missing const qualifiers to class drivers.
15 years ago
Dean Camera 99d8a39363 Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h.
15 years ago
Dean Camera f4710f6f86 Removed the automated checking of event names in the demo, project and bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform.
15 years ago
Dean Camera 1167b69943 Add missing eol-style properties to new source files.
15 years ago
Dean Camera 8b053d6ba5 Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request.
15 years ago
Dean Camera deed746d37 Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().
15 years ago
Dean Camera 711542ee89 Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as the new 1.7 Doxygen's default stylesheet is much better.
15 years ago
Dean Camera a14ece5f57 Change over Doxygen \note documentation to \pre where applicable.
15 years ago
Dean Camera 75d440ace3 Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured pipes, rather than performing token check first.
15 years ago
Dean Camera 6d53cdba83 More documentation fixes.
15 years ago
Dean Camera e95c96ea20 Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs (thanks to Axel Rohde).
15 years ago
Dean Camera 328ed71ce7 Fix spacing of the function parameter descriptions in the Doxygen documentation.
15 years ago
Dean Camera 670413603f The EEPROM stream read/write functions now use eeprom_update_byte() instead of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan.
15 years ago
Dean Camera 34047efc7e Remove incorrect check for the current device state in the Set Configuration request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances.
15 years ago
Dean Camera 1331cce08a Fixed possible device lockup when INTERRUPT_CONTROL_ENDPOINT is enabled and the control endpoint is not properly selected when the ISR completes.
15 years ago
Dean Camera ee5ea4ce2b Fix nasty bug in USBInterrupt.c which would cause a lockup if the control endpoint was not selected at the point the USB endpoint interrupt fires when INTERRUPT_CONTROL_ENDPOINT is defined.
15 years ago
Dean Camera 071e02c6b6 Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
15 years ago
Dean Camera 708a1c6166 Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other interrupts from occuring while the control endpoint request is being processed, causing possible lockups if a USB interrupt occurs during a transfer.
15 years ago
Dean Camera 27f0ba6fc3 Fixed device state not being reset back to the default state if the host sets the address to 0x00.
15 years ago
Dean Camera eed7d4df6a Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so that the stream functions early-abort if the bus is suspended before or during a transfer.
15 years ago
Dean Camera 0063f72117 Oops - relocated USBInterrupt.h header file requires adjusted include paths for the other USB driver header files.
15 years ago
Dean Camera e977774d4e Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the LowLevel directory as it is hardware-dependent.
15 years ago
Dean Camera 59c4871f80 USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run.
15 years ago
Dean Camera 5e14c194c9 Fixed Set/Clear Feature requests directed to a non-configured endpoint not returning a stall to the host.
15 years ago
Dean Camera 7b79325aa0 Removed two-step endpoint/pipe bank clear and switch sequence for smaller, faster endpoint/pipe code.
15 years ago
Dean Camera 0557676013 Add file-level brief documentation.
15 years ago
Dean Camera 9a5ae36a4f Software PDI mode breaks unless the software USART has 100 cycles between bits.
15 years ago
Dean Camera 92418433a5 Fix incorrect LED mask name in the Webserver project.
15 years ago
Dean Camera 14a5a94084 Fix incorrect error when directly including the LUFA internal USB library components.
15 years ago
Dean Camera 071fd8ce53 Revert changes made for the partial port to the AVR32 architecture.
15 years ago
Dean Camera a7aaa45ec4 More AVR32 achitecture ports.
15 years ago
Dean Camera 3702ba1fb3 More porting of the USB core to the AVR32.
15 years ago
Dean Camera 0e6d5cf5b4 Start porting the USB core to the AVR32 UC3B.
15 years ago
Dean Camera d49cc0f783 Add more include protection macros to give the user warnings when they try to manually include private driver header files, instead of the public driver headers.
15 years ago
Dean Camera b6a4584a19 Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction into account.
15 years ago
Dean Camera b0ce1eab66 Fix incorrect preprocessor checks in the PLL prescaler mask determination code for the ATMEGA32U2.
15 years ago
Dean Camera 77dda302ac Fixed invalid USB controller PLL prescaler values for the ATMEGAxxU2 controllers
15 years ago
Dean Camera 7f9f97c792 Update copyright year to 2010.
15 years ago
Dean Camera d4ca7fb44c Fix MIT license language to make its intent clearer.
15 years ago
Dean Camera d4952265a6 Ensure that unsupported SetFeature/ClearFeature request targets cause a STALL back to the host.
15 years ago
Dean Camera 8b75659563 Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options.
15 years ago
Dean Camera 2cab8f0725 Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is shut down and both Host and Device modes can be used (thanks to Daniel Levy).
15 years ago
Dean Camera c3758ac5ef Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.
15 years ago
Dean Camera 3705330dd3 Use -pedantic compile time option to find and correct several minor code errors.
15 years ago