Dean Camera
c029d72b94
More endianness porting of the LUFA host mode class drivers.
14 years ago
Dean Camera
85e85befc4
More endianness porting of the LUFA device mode class drivers.
...
Add endianness information to the class driver and core structure definitions.
Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
14 years ago
Dean Camera
d771b1ff8f
Oops - re-order Ringbuffer.h inline functions to prevent compile errors due to forward references.
14 years ago
Dean Camera
87ea060afe
Added new RingBuffer_GetFreeCount() function to the library miscellaneous RingBuffer driver.
14 years ago
Dean Camera
6c4f736793
Minor documentation and style fixes.
14 years ago
Dean Camera
137ce280c1
Updated all host mode demos and projects to use the EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task.
...
Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device.
Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*.
Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required.
Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required.
Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
14 years ago
Dean Camera
bcb627e1a1
Add missing doxygen group terminator to the new CompilerSpecific.h header file.
14 years ago
Dean Camera
4e601207a7
Tighten up the implementations of the USB_Device_SetDeviceAddress(), USB_Controller_Reset() and USB_PLL_On() functions for the AVR8 devices.
...
Minor corrections to the documentation of the USB_Control_Request_t enum.
14 years ago
Dean Camera
87b57522b2
Fix improper indenting of the internal board driver dispatch headers.
...
Slight improvements to the ADC peripheral driver example in the manual.
14 years ago
Dean Camera
bfa22eca26
Split out compiler specific helper macros into a new CompilerSpecific.h header file inside the library, for future expansion.
14 years ago
Dean Camera
9ea22ebf41
Fix HID_Host_SetIdlePeriod() function to send the correct request type to the device, remove reference to unavailable (and not needed) local variable.
14 years ago
Dean Camera
5b06886dab
Add missing function parameter to the new HID_Host_SetIdlePeriod() function.
14 years ago
Dean Camera
258381e760
Add missing function parameter to the new HID_Host_SetIdlePeriod() function.
14 years ago
Dean Camera
61861c548e
Added new HID_Host_SetIdlePeriod() function to the HID Host Class driver.
14 years ago
Dean Camera
b775995867
Oops: Fix compile error in the low level KeyboardMouse demo.
14 years ago
Dean Camera
04660d3793
Seperate out the device demos and project's configuration descriptor structure definitions to clearly indicate what descriptors belong to which interface.
14 years ago
Dean Camera
c6a7a028bd
Merge over core library changes from the MultiArchDemos branch.
14 years ago
Dean Camera
8c3d421a01
Added board hardware driver support for the EVK1104 board.
...
Fix inverted LEDs_GetLEDs() result for the EVK1100 and EVK1101 boards.
14 years ago
Dean Camera
8cc3fd56d9
Add board driver support for the EVK1100 board.
14 years ago
Dean Camera
dee4bc0973
Fix logic bug in the incomplete Android Accessory Host demo preventing correct detection of an attached Android Accessory Mode device.
14 years ago
Dean Camera
ca9f89ce82
Add new "checksource" target to the library makefiles, for automated source file existance checking.
14 years ago
Dean Camera
5d7827a573
Minor internal macro renaming for the UC3 devices.
14 years ago
Dean Camera
d784baaa3a
Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was disabled, and a USE_*_DESCRIPTORS compile time option was not enabled on the AVR8s.
...
Add C++ compatibility to some header files currently missing extern "C" linkage.
14 years ago
Dean Camera
bb0b761c65
Make the HID Report Parser Get/Set Report Item routines fail if a NULL pointer to a report item is given.
...
Minor visual enhancement to the HIDReportViewer project.
14 years ago
Dean Camera
5e0c807708
Fix incorrect printf format specifier in the HIDReportViewer project.
14 years ago
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
2e6370a6b9
Add missing project files for the new HIDReportViewer project to upgrade its status to a finished (working) project.
14 years ago
Dean Camera
bad956bace
Fix TWI driver documentation example (thanks to Jerome Colombie).
14 years ago
Dean Camera
00acc95ff6
Add new incomplete HIDReportViewer project.
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
2d778a3ff5
Add additional support files for the new low level AudioInputHost and AudioOutputHost demos.
14 years ago
Dean Camera
85f39a58c5
Move completed low level Audio Host demos into the LowLevel folder from the Incomplete folder.
14 years ago
Dean Camera
1a25b6f5f1
Update the Low Level Audio Input and Audio Output demos to support multiple sample rates.
...
Remove custom PIDs on the Class Driver Audio device demos and revert back to the original Audio PIDs, as the low level and class driver demo versions are now descriptor compatible once again.
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