| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
(up from 5) to account for slow-processing devices.
Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression.
Minor code cleanups (remove redundant comments, fix spacing, etc.).
|
|
|
|
| |
data to the attached device.
|
|
|
|
|
|
| |
and ATMEGA16U2.
Simplified the USB.h master include file's target validity checks.
|
|
|
|
| |
software UART code).
|
|
|
|
|
|
| |
ahead double the expected amount.
Fixed Pipe_IsEndpointBound() not masking the given Endpoint Address against PIPE_EPNUM_MASK.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick.
The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR).
The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only.
The USB_MODE_HOST token is now defined even when host mode is not available.
Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
|
|
|
|
| |
variable-length ATTR_NON_NULL_PTR_ARG() macro used on function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons).
|
|
|
|
| |
Lyons).
|
|
|
|
| |
to USB_Host_GetDeviceConfigDescriptor().
|
|
|
|
|
|
| |
avr-libc return codes for errors and EOF.
Fix pointer arithmetic on void byte buffers by explicitly typecasting the buffer pointers to uint8_t* before altering them.
|
| |
|
|
|
|
| |
Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST.
|
|
|
|
| |
directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
|
|
|
|
| |
value was being supplied in the audio descritors field giving the number of discrete audio formats the device supports.
|
|
|
|
|
|
| |
return codes used in comparison to check for success.
Add HID Host Class driver functions to set the report protocol, add more class driver documentation.
|
|
|
|
|
|
| |
standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project.
Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
|
|
|
|
|
|
| |
the ATMEGAXX2 variant AVRs to the DFU bootloader.
Added warning to the EVENT_USB_Device_Connect() and EVENT_USB_Device_Disconnect() events that they may be fired multiple times during device enumeration on the series 2 AVRs.
|
|
|
|
| |
driver dispatch headers.
|
|
|
|
| |
function so that it now performs size checks and data validations internally, to simplify user code.
|
|
|
|
|
|
| |
project.
Fix up references to functions in the Endpoint/Pipe documentation.
|
|
|
|
|
|
| |
Added new Endpoint_SetEndpointDirection() macro to set the current endpoint direction for bidirectional endpoints.
Renamed internal USB_INT_ENDPOINT_SETUP macro to USB_INT_RXSTPI to fit in with the rest of the interrupt vector macros.
|
|
|
|
| |
USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
|
|
|
|
|
|
| |
LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask.
Fix incorrect event name in MassStorageHost.c.
|
|
|
|
| |
library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices.
|
| |
|
|
|
|
|
|
|
|
| |
events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only.
Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events.
Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
|
|
|
|
|
|
| |
processing routines, as they can cause problems with user code and can cause infinite spinlocks under some circumstances.
Added new LUFA logo from EDIGMA.COM.
|
|
|
|
|
|
| |
correct terminology is used (thanks to Brian Dickman).
Fix USB_PLL_Off() call in the series 4, 6 and 7 microcontroller disconnect interrupt handler code, which wasn't guarded by a test of USB_Options to check if the user has specified manual PLL control (thanks to Brian Dickman).
|
|
|
|
| |
not support USB host mode.
|
| |
|
|
|
|
| |
and HOST_STATE_AS_GPIOR and allow the user to set them to the index of the GPIOR register within the device to use.
|
|
|
|
| |
the latter of which is used in the bootloaders, to reduce code size.
|
|
|
|
|
|
|
|
| |
to the Addressed or Configured state as needed.
Add explicit support for the AT90USB646 to the Teensy bootloader now that PJRC have released the Teensy++ board.
Ensure unfinished SideShow demo uses an unallocated PID value within the LUFA range.
|
|
|
|
|
|
|
|
|
|
|
|
| |
USB state.
Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers.
Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality.
Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead.
Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
|
| |
|
|
|
|
|
|
| |
subdirectory.
Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected.
|
|
|
|
|
|
| |
Added parameter directions to function parameter documentation.
Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
|
|
|
|
| |
some AVR models as the USB device's serial number, added NO_INTERNAL_SERIAL compile time option to turn off new serial number reading code. Updated Mass Storage and CDC based demos to use the new device serial number if the device it is compiled for supports it.
|
|
|
|
| |
internal unique serial number as the device's serial number descriptor on supported AVR models.
|
|
|
|
| |
number within the device to fetch, to add support for multi-configuration devices.
|
|
|
|
|
|
|
|
|
|
| |
condition on an attached device's endpoint.
Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor.
Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption.
Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
|
|
|
|
|
|
| |
for better device control.
Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
|
|
|
|
|
|
|
|
| |
Redocumented all device demos, now that they have changed over to the new USB class drivers.
Added C linkage to class drivers for C++ support.
Added prefixes to most of the class driver constants to prevent name clashes.
|
|
|
|
|
|
| |
too much and it was only useful in one of the standard classes (HID). Altered HID demos to use the previous method of tracking millisecond periods via a hardware timer rather than the SOF events.
Fixed MIDI class driver blocking on unread events to the host.
|
|
|
|
|
|
|
|
|
|
| |
MIDI demo - not documented yet.
Removed scheduler and memory allocation libraries.
Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated).
Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
|
|
|
|
| |
CALLBACK_USB_GetDescriptor, moved ConfigDescriptor.c/.h from the LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preperation for the new USB class APIs.
|
|
|
|
| |
Phill).
|