Commit Graph

395 Commits (152b2764c3c719e3e9e34ee60b5db8d99ff2611b)

Author SHA1 Message Date
Dean Camera 152b2764c3 Small tweaks to ConfigDescriptor.c/.h to ensure pointers use the correct type, and to remove const attribute from the descriptor comparator callback function pointer type define, and into the function prototype instead.
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 d3699d0261 Added new ADC_DisableChannel() function (thanks to Mich Davis).
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 05ac59d0ee Add new ReportType parameter to the HID class driver device callback and host report sending routines.
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 a9e0935a90 Device mode class driver callbacks are now fired before the control request status stage is sent to prevent the host from timing out if another request is immediately fired and the device has a lengthy callback routine.
15 years ago
Dean Camera 27eb17cb93 Change over unix line-endings to dos line endings.
15 years ago
Dean Camera 842e219bf3 Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() function to the Device and Host CDC Class drivers.
15 years ago
Dean Camera cde2afc50e Ensure that the CDC class drivers return 0 if the number of unread bytes is queried and the bank has become empty.
15 years ago
Dean Camera a926053ab5 Fix up the ADC driver for the U4 parts to remove a typo on one of the register names.
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 e652cfac67 Fixed Host mode HID class driver not sending the correct report type when HID_Host_SendReportByID() was called and the HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set.
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 9cad677ebb The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() functions are now inline, to reduce overhead.
15 years ago
Dean Camera 9e34144c9b Use puts_P() and printf_P() instead of the normal variants where possible in the Host mode Class Driver demos.
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 8252b4febd Fixed HID Device Class Driver not allocating a temporary buffer when the host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski).
15 years ago
Dean Camera 3eb81df998 Rename FunctionAttributes.h to Attributes.h, as some attributes are applicable to variables also. Add new ATTR_NOINIT attribute for global variables.
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 cf4c510ec3 Oops, incorrectly edited the Benito buttons driver file instead of the JM-DB-U2 buttons driver file.
15 years ago
Dean Camera ead183bc53 Add missing board Buttons driver for the USBTINY MKII board target.
15 years ago
Dean Camera d4c421e380 Oops - make sure board driver dispatch headers test for the correct BOARD define values.
15 years ago
Dean Camera 61a799ed55 Added support for the JM-DB-U2 board hardware.
15 years ago
Dean Camera 3790907f4d Added board hardware driver support for the Benito programmer.
15 years ago
Dean Camera a8cbe3466b Added board hardware driver support for Tom's USBTINY MKII programmer.
15 years ago
Dean Camera 9257f4ab8e Add briefs for the library core structures.
15 years ago
Dean Camera 0557676013 Add file-level brief documentation.
15 years ago
Dean Camera 74353374c3 All Class Driver Host mode demos now correctly set the board LEDs to READY once the enumeration process has completed.
15 years ago
Dean Camera b8db5fc1e7 Added new Relay Controller Board project (thanks to OBinou).
15 years ago
Dean Camera c2de01b661 Fixed incorrect definition of HID_ALIGN_DATA() causing incorrect HID report item data alignment.
15 years ago
Dean Camera f79f9abd28 Fixed compilation error in the AudioInput demos when MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian).
15 years ago
Dean Camera 9a5ae36a4f Software PDI mode breaks unless the software USART has 100 cycles between bits.
15 years ago
Dean Camera b2bdfe4377 Improve documentation for the ADC and TWI drivers.
15 years ago
Dean Camera 4f9dd142e7 Fixed ADC routines not correctly returning the last result when multiple channels were read.
15 years ago
Dean Camera 92418433a5 Fix incorrect LED mask name in the Webserver project.
15 years ago
Dean Camera 634abab38a Fix TWI driver not aborting when faced with no response after attempting to address a device on the bus.
15 years ago
Dean Camera c0c982df7a Added a timeout value to the TWI_StartTransmission() function, within which the addressed device must respond.
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