Dean Camera
e349974aa9
Fix broken Doxygen documentation.
14 years ago
Dean Camera
9d733d44b4
Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver.
...
Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure.
14 years ago
Dean Camera
41de1d1dab
Oops - fix bad include path in the moved USBKEY Dataflash board driver header.
14 years ago
Dean Camera
910bca557c
Seperated out board drivers by architecture in the library internals for better organisation.
14 years ago
Dean Camera
049e930963
Fixed possible invalid program execution when in host mode if corrupt 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.
14 years ago
Dean Camera
7d3150423d
Add new USE_LUFA_CONFIG_HEADER compile time option.
...
Add missing LEDS_ToggleLEDs() function to the LED driver for the EVK1101 board.
14 years ago
Dean Camera
a85fa30bf1
Minor documentation fixes.
14 years ago
Dean Camera
f670bdeff8
Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result 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).
14 years ago
Dean Camera
2b0c9532a3
Fix reversed descriptions for the AVR8 USB pad regulator enable/disable masks (thanks to Omar).
14 years ago
Dean Camera
e0852408de
Replace cast-as-char* byte access of multibyte variables with proper shifts and masks to preserve endianness across different architectures.
14 years ago
Dean Camera
995195a2b0
Add missing function attributes to the pipe/endpoint functions for all architectures.
...
Perform endianness correction in the HID report parser for big-endian platforms.
14 years ago
Dean Camera
852b5e612d
Remove redundant type information for bitfield elements, other than the 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.
14 years ago
Dean Camera
c263ea837a
Move global interrupt enable/disable functions out to Common.h and document them.
14 years ago
Dean Camera
de9bd767dc
Correct UC3 global interrupt functions.
...
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.
14 years ago
Dean Camera
70284d390f
Add in a new common Delay_MS() function, which provides a blocking delay for 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.
14 years ago
Dean Camera
0c5afda7e8
Oops - fix misnamed function call in Pipe_Discard_Stream().
14 years ago
Dean Camera
96a2da1813
Oops - fix incorrect variable name in the updated Pipe_Write_8() function.
14 years ago
Dean Camera
899df7d331
Renamed all low level Endpoint_Read_*, Endpoint_Write_* and 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.
14 years ago
Dean Camera
2efa79d3ec
Conditionally add available address spaces to the address space enum, for multiple address space architectures.
...
Update Doxygen configuration file for the latest Doxygen release.
Minor documentation updates.
14 years ago
Dean Camera
06d00bb99b
Ensure the library builds cleanly in device mode for architectures lacking multiple address spaces.
14 years ago
Dean Camera
fa5c8700bc
Fix corner case in the HID report descriptor Mouse/Joystick tempates at the 8/16 bit boundary.
14 years ago
Dean Camera
f595043584
Add in new architecture attribute defines to selectively remove the EEPROM and FLASH memory space functions on architectures which do not have seperate memory address spaces.
14 years ago
Dean Camera
aba7932a5c
F_CLOCK changed to F_USB to be more descriptive, and applicable on future architecture ports.
14 years ago
Dean Camera
f6f4ac588c
Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin Degelsegger).
14 years ago
Dean Camera
b47374caf5
Fix incorrectly named include guards in the Board driver header files.
14 years ago
Dean Camera
fe62770a1e
Added new VirtualSerialMassStorage Device Class Driver demo.
14 years ago
Dean Camera
5eb1862d54
Remove redundant Doxygen guards from the internal preprocessor definitions.
14 years ago
Dean Camera
134e018b21
Fixed Remote Wakeup broken on the AVRs due to the mechanism only operating when the SUSPI bit is set (thanks to Holger Steinhaus).
...
Remove redundant setting of UIDE in the AVR8 and AVR32 USB controller drivers.
14 years ago
Dean Camera
95a1aa4c01
Add named macros to the board joystick drivers where a shift is needed to maintain unique joystick direction bits in the returned mask value.
14 years ago
Dean Camera
b35f93a372
Implemented on-demand PLL clock generation for the U4, U6 and U7 series USB AVRs when automatic PLL mode is specified.
14 years ago
Dean Camera
0111fb515d
Oops - fix internal serial number extraction routine for the AVR8 architecture.
14 years ago
Dean Camera
ea361a0d30
Correct Endpoint/Pipe maximum constants for the AVR32 UC3 models.
14 years ago
Dean Camera
02dfd7dc3d
Simplify the internal serial extraction routines for each architecture.
14 years ago
Dean Camera
a7eca42996
Add experimental support for the AVR32 UC3A4 microcontrollers.
...
Add support for the inbuilt unique serial numbers in the UC3A3 and UC3A4 models.
14 years ago
Dean Camera
81fd8d4004
Re-add accidentally deleted Host_UC3.c and Host_UC3.h files.
14 years ago
Dean Camera
944e0d2009
Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models.
14 years ago
Dean Camera
6005a42150
Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 microcontrollers.
14 years ago
Dean Camera
13e2f71f15
Simplify AVR32 UC3B software FIFO, as it will only ever be accessed a byte at a time to prevent data alignment issues.
14 years ago
Dean Camera
c8a438d66c
Add structure padding to the appropriate descriptor structures to maintain correct alignments on larger architectures.
...
Fix EVK1101 swapped joystick Right/Down masks.
14 years ago
Dean Camera
e4b3e3fc65
Fix UC3B architecture compile errors and ensure the architecture can be compiled with no special makefile tokens defined.
14 years ago
Dean Camera
8b13f7f89a
Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent with the Pipe_ResetPipe() function name.
...
Fix undefined error in Pipe_UC3B.h.
Add missing migration notes.
14 years ago
Dean Camera
1e3d892b6a
Add software FIFOs to the UC3B pipe control interfaces, to match the endpoint control interfaces. Fix incorrect endianness for the Endpoint/Pipe read and write routines.
14 years ago
Dean Camera
b763c3f33e
Porting updates for the UC3B architecture - get UC3B partially enumerating using a modified mouse demo on the EVK1101. Implement a software FIFO for the endpoint banks; datasheet hints that this can be done through hardware as on the AVR8 architecture, but the correct method to do this not discovered yet.
14 years ago
Dean Camera
c1c94fe5a0
Fixed Still Image Host class driver exiting the descriptor search routine prematurely if the data pipes (but not event pipe) is found.
...
Fixed missing call to Pipe_SetInfiniteINRequests() in the Pipe_ConfigurePipe() routine.
14 years ago
Dean Camera
8c6f26e19d
Add in USB_INT_RegisterHandlers() internal function to register the interrupt handler routines used by LUFA. Add dummy loads after clearing the interrupt lines according to the datasheet.
...
Add in temporary global interrupts enable/disable macros.
14 years ago
Dean Camera
86a2be8536
Fix EVK1101 board joystick driver movement masks.
14 years ago
Dean Camera
29ba88cffd
Add code to start the USBB Generic Clock from the user-specified master clock source (OSCx or PLLx) in the AVR32 UC3B core USB driver.
14 years ago
Dean Camera
c79f6e2586
Oops - ensure that only the relevant/available interrupts are defined and used on each architecture.
...
Make all USB driver headers include USBMode.h first, to ensure that the relevant USB mode macros are defined.
14 years ago
Dean Camera
04526d284d
Changed over the AVR8 USB controller interrupt management macros to be inlined functions instead, for better compile-time validity checking and to keep the per-architecture source files as uniform as possible.
14 years ago
Dean Camera
92b3553a07
General cleanup and more port work to the AVR32 UC3B.
14 years ago