aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/UC3
Commit message (Collapse)AuthorAgeFilesLines
* Fixed possible invalid program execution when in host mode if corrupt ↵Dean Camera2011-05-141-7/+16
| | | | | | | | descriptor lengths are supplied by the attached device. Minor code cleanups to add const and reformat where missing, as well as abstract out the internal device signature start address into a macro, so that it can be altered to suit particular devices within a single architecture if needed. Add missing documentation to the USB_Device_States_t enum.
* Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result ↵Dean Camera2011-04-254-6/+8
| | | | | | | | | | typecasting to the SWAPENDIAN_* macros. Switch to using -1 on the UC3 target to obtain a register mask with all bits set (for clearing interrupts and status flags). Fix incorrect USB controller mode on the UC3 when a fixed mode is specified as a compile time option due to AVR32_USBB.USBCON.uide being set by default. Make USB_Descriptor_String_t use a uint16_t for Unicode strings on all targets except the AVR8 (retained for backwards compatibility).
* Add missing function attributes to the pipe/endpoint functions for all ↵Dean Camera2011-04-124-2/+6
| | | | | | architectures. Perform endianness correction in the HID report parser for big-endian platforms.
* Remove redundant type information for bitfield elements, other than the ↵Dean Camera2011-04-104-4/+4
| | | | | | 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.
* Move global interrupt enable/disable functions out to Common.h and document ↵Dean Camera2011-04-083-41/+6
| | | | them.
* Correct UC3 global interrupt functions.Dean Camera2011-04-082-3/+4
| | | | | | Replace all calls and references to _delay_ms() in the code with the architecture-agnostic Delay_MS() function. Improve code generation for the Delay_MS() function on the AVR8 architecture when called with a constant input.
* Add in a new common Delay_MS() function, which provides a blocking delay for ↵Dean Camera2011-04-086-27/+72
| | | | | | | | all architectures. Remove use of avr-libc specific ATOMIC_BLOCK, replace with a new per-architecture set of inline functions to retrieve and manipulate the global interrupt enable bit for each architecture. Add in documentation for the USB controller common interrupt routine which must be linked to the interrupt controller in the user application on the AVR32 UC3 architecture.
* Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean Camera2011-04-042-114/+112
| | | | | | 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.
* Add in new architecture attribute defines to selectively remove the EEPROM ↵Dean Camera2011-03-211-0/+4
| | | | and FLASH memory space functions on architectures which do not have seperate memory address spaces.
* F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean Camera2011-03-211-2/+2
| | | | architecture ports.
* Fixed Remote Wakeup broken on the AVRs due to the mechanism only operating ↵Dean Camera2011-03-152-7/+3
| | | | | | when the SUSPI bit is set (thanks to Holger Steinhaus). Remove redundant setting of UIDE in the AVR8 and AVR32 USB controller drivers.
* Correct Endpoint/Pipe maximum constants for the AVR32 UC3 models.Dean Camera2011-03-142-13/+39
|
* Simplify the internal serial extraction routines for each architecture.Dean Camera2011-03-131-11/+11
|
* Add experimental support for the AVR32 UC3A4 microcontrollers.Dean Camera2011-03-132-11/+48
| | | | Add support for the inbuilt unique serial numbers in the UC3A3 and UC3A4 models.
* Re-add accidentally deleted Host_UC3.c and Host_UC3.h files.Dean Camera2011-03-132-0/+777
|
* Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models.Dean Camera2011-03-1310-0/+3395