Dean Camera
94e0a0058a
Oops - restore conditional calls to USB_USBTask() in the Mass Storage class driver for the non-stream loops.
13 years ago
Dean Camera
dc9133ad21
Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq module where it is used.
13 years ago
Dean Camera
3b898ae178
Remove redundant prototype for Audio_Host_StartStopStreaming() and Audio_Host_GetSetEndpointProperty(). Update host mode Audio class inline functions to prevent unused parameter warnings.
13 years ago
Dean Camera
a233109909
Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the function works on an endpoint address within the attached device, and not a Pipe within the host.
...
Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons).
Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage.
Minor documentation corrections.
13 years ago
Dean Camera
2d9f98b592
Add multiple axis support to the HID joystick report in the HID_DESCRIPTOR_JOYSTICK() macro.
13 years ago
Dean Camera
40728fd20d
Remove redundant calls to USB_USBTask() in the Mass Storage Device Class driver when INTERRUPT_CONTROL_ENDPOINT is not used, as this is done inside the stream callbacks.
...
Fix implementations of Endpoint_SetEndpointDirection() and Endpoint_GetEndpointDirection() for the AVR8 architecture.
13 years ago
Dean Camera
110711598a
Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
14 years ago
Dean Camera
bd8046976f
Minor documentation fixes.
14 years ago
Dean Camera
7207b05695
Add missing function attributes.
14 years ago
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
6c4f736793
Minor documentation and style fixes.
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
c6a7a028bd
Merge over core library changes from the MultiArchDemos branch.
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
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
0ec2b55a7c
Add missing SVN eol-style properties to source files to prevent mixed end-of-line characters.
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
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
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
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
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
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
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
a85fa30bf1
Minor documentation fixes.
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
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
fa5c8700bc
Fix corner case in the HID report descriptor Mouse/Joystick tempates at the 8/16 bit boundary.
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