Dean Camera
a7dd984446
Code style fixes for the Device mode USB Audio Class driver to make it more in line with the style of the other library Device Class drivers.
14 years ago
Dean Camera
bad956bace
Fix TWI driver documentation example (thanks to Jerome Colombie).
14 years ago
Dean Camera
0ec2b55a7c
Add missing SVN eol-style properties to source files to prevent mixed end-of-line characters.
14 years ago
Dean Camera
f10126a95e
Added new \ref SPI_GetCurrentMode() function to the SPI peripheral driver.
14 years ago
Dean Camera
d8fe01f19a
Rename new Audio class driver functions, callbacks and events to ensure that they contain the USB mode (Device or Host) in the function names.
14 years ago
Dean Camera
21a012a018
Add macro guards to the templated C files to prevent compile errors if they are mistakenly compiled as regular source files in a LUFA project.
14 years ago
Dean Camera
f1cfd7ea7d
Rename Audio Host Class driver internal descriptor matching routines to be in line with the rest of the class driver function names.
14 years ago
Dean Camera
deaab90089
Ensure that only the requested Audio class pipes are mapped to endpoints within the device for a specific Audio Host Class driver instance.
...
Fix const-correctness of the Audio Host Class driver.
14 years ago
Dean Camera
6e0a26083a
Fix bugs in the Host mode Audio class driver.
14 years ago
Dean Camera
6e2a3174a5
Fix errors in the library Host mode Audio Class driver.
14 years ago
Dean Camera
e5e34f91fa
Fix compile errors when both Host and Device modes are enabled.
14 years ago
Dean Camera
1f1d0710f3
Add new Audio Class Driver Host demos.
...
Fix errors in the new Audio Host mode Class Driver, which would have prevented data from being sent or received properly by the device.
Add microphone/square wave generation compile time switch to the Low Level AudioOutput Host demo.
14 years ago
Dean Camera
0bf5064aec
Pipe_BoundEndpointNumber() has been renamed to Pipe_GetBoundEndpointAddress(), and now returns the correct endpoint direction as part of the endpoint address.
...
Add Audio_GetSetEndpointProperty() function to the Host mode Audio class driver.
14 years ago
Dean Camera
34164a5550
Remove warnings in the documentation for the library class drivers about sequential pipe/endpoint allocation, as by default this is no longer as issue (unless ORDERED_EP_CONFIG is specified).
14 years ago
Dean Camera
e572ee7ff2
Added new Host mode Audio Class driver.
...
Added new EVENT_Audio_StreamStartStopChange() event to the Audio Device Class driver to detect stream start/stop events.
14 years ago
Dean Camera
605ef921cc
Fix compile errors when compiling for the AVR32 UC3 target.
14 years ago
Dean Camera
2e76ad721e
Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems.
14 years ago
Dean Camera
73733275be
Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems.
14 years ago
Dean Camera
567f7ecce0
Fix errors in the Audio device demos and class driver regarding multiple sample frequency support.
14 years ago
Dean Camera
7dffa15c16
Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru.
14 years ago
Dean Camera
3bd6336075
Added board driver support for the Busware TUL board.
14 years ago
Dean Camera
2731c3a8ae
Added new callback to the Audio Class driver to allow for endpoint control manipulations such as data sample rates.
...
Modified the Class Driver AudioInput and AudioOutput demos to support multiple sample rates.
Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed.
Fix broken LowLevel audio demo descriptors.
Minor documentation fixes.
14 years ago
Dean Camera
f01a05415c
Spell check library source code files.
14 years ago
Dean Camera
6d2a08f1b7
Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2.
...
Minor documentation cleanups.
Modify the incomplete AudioInputHost demo for mono audio output.
14 years ago
Dean Camera
68468e0aea
Added new incomplete AudioOutputHost Host LowLevel demo.
14 years ago
Dean Camera
2a26efc691
Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so that the user is now responsible for supplying the supported audio sampling rates, to allow for multiple audio interfaces with different numbers of supported rates and/or continuous sample rates.
14 years ago
Dean Camera
ea922c98d1
Added new incomplete AudioInputHost Host LowLevel demo.
...
Added missing Audio class control request definitions.
Added support for the Audio class GET STATUS request so that it is correctly ACKed when sent by the host.
14 years ago
Dean Camera
cc9b190919
Add new USB_Host_SetInterfaceAltSetting() convenience function.
14 years ago
Dean Camera
6e7fc21a94
Fix incorrect macro guard in the UC3 EndpointStream header file.
...
Fix incorrect project name in the Projects/ folder makefile.
14 years ago
Dean Camera
1ea5dae8a8
Copy out the EndpointStream and PipeStream functions to each architecture, so that each architecture can optimise the stream functions according to the available hardware (such as DMA, where available).
14 years ago
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