| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
AVR8/XMEGA specific sei() macro, for future demo/project portability.
|
|
|
|
| |
keyboard example, so that the SendReport variable is not overwritten before its first read access.
|
| |
|
| |
|
| |
|
|
|
|
| |
(thanks to Laszlo Monda).
|
|
|
|
| |
to Russian translation services provided by Andrey from Microsin.ru.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
to the same module as they are declared in.
Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs.
|
|
|
|
|
|
|
|
|
|
| |
parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk).
Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions.
Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it.
Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
|
| |
|
|
|
|
| |
EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
|
| |
|
|
|
|
| |
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
|
|
|
|
|
|
| |
is included, and no longer need to be seperately included.
All LowLevel demos changed to use the constants and types defined in the USB class drivers.
|
|
|
|
| |
tool made by Laszlo Monda
|
|
|
|
| |
control request is acknowledged and any data transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will not break communications with the host by exceeding the maximum control request stage timeout period.
|
|
|
|
|
|
| |
use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code.
Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
|
|
|
|
|
|
| |
parameters, one per line, for better readability.
Add missing const qualifiers to the demos.
|
|
|
|
| |
correctly converted to the target system's native end of line style.
|
|
|
|
| |
be done in the user application once all init code has run.
|
|
|
|
| |
Minor documentation improvements.
|
|
|
|
| |
type in ProcessLEDReport().
|
|
|
|
| |
demos.
|
|
|
|
| |
driver and Keyboard demos.
|
| |
|
| |
|
|
|
|
| |
number of pressed keys, as this relied on non-standard OS behaviour.
|
|
|
|
|
|
| |
been written to the endpoint.
Added support for multiple keyboard keycodes in a single report to the LowLevel and ClassDriver Keyboard demos.
|
| |
|
|
|
|
| |
USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured.
|
|
|
|
|
|
|
|
| |
of wValue set to zero, the idle period must be set for all HID interfaces.
Fix Keyboard and Mouse demos, Idle period is now multiplied by 4 as the period is read into and sent out of the device to ensure it is always stored as a multiple of 1ms. Fixes Keyboard demo using an initial Idle period of 2s rather than 500ms (thanks to Brian Dickman).
Move out the internal device serial descriptor reading routine into a seperate static function, rather than being part of USB_Device_GetDescriptor.
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
MIDI device demo no longer blocks if a note change event is sent while the endpoint is not ready.
|
| |
|
|
re-add old low level demos to a LowLevel subdirectory.
|