| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
to manually include private driver header files, instead of the public driver headers.
|
|
|
|
| |
flushed only once when the bank is empty.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Class Driver demo.
Fixed all Class drivers to ensure they have appropriate guards on each function to ensure the device is enumerated before running, fixed error codes on all guards to return "DeviceDisconnected" where possble.
Renamed HOST_SENDCONTROL_DeviceDisconnect enum value to HOST_SENDCONTROL_DeviceDisconnected to be in line with the rest of the library enum error codes.
|
|
|
|
| |
requiring blocking reads.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
standard streams from CDC Class driver instances.
|
|
|
|
| |
per-endpoint, per-interface level.
|
|
|
|
| |
correct size (thanks to Thomas Bleeker).
|
|
|
|
| |
service task call - only send termination packets when data is in the endpoint.
|
|
|
|
| |
quickly clear zero-length termination packets from the host.
|
|
|
|
|
|
|
|
| |
for serial data reception to prevent missed characters, condensed pulse generation counters into a struct for clarity.
Added check to CDC_Device_BytesReceived() to ensure 0 is returned when device is not enumerated to a host.
Move AVRISP project's V2Protocol_DelayMS() function to be static inline, as it is now very minimal. Added extra project doxygen documentation.
|
| |
|
|
|
|
|
|
| |
Minor updates to the unfinished SideShow demo for clarity.
Added unfinished MassStorageHost class driver demo.
|
|
|
|
| |
Adjustments to the CDC and MIDI device class drivers to use sizeof() on the actual variable being transmitted or received rather than its datatype to reduce possible mistakes.
|
|
|
|
|
|
|
|
| |
data endpoint could lock up the driver.
Further work on the new CDC and HID host mode class drivers.
Reset changelog et. al. to reset development information for the new version currently under development.
|
|
|
|
| |
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.
|
|
|
|
| |
device tries to send data before the host has set the line encoding.
|
|
|
|
| |
(both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
internal unique serial number as the device's serial number descriptor on supported AVR models.
|
|
|
|
| |
structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
|
|
|
|
|
|
| |
Split out common defines/types from class drivers into a seperate common class driver directory.
Make central USB Class driver dispatch headers, used for both device and host modes.
|
|
|
|
| |
for similar host mode Class drivers.
|
| |
|
|
|
|
| |
endpoint support from HID driver (all OUT reports are now processed through control requests) as a seperate endpoint had issues with determining the exact output report length.
|
|
|
|
|
|
|
|
| |
interface structure as a parameter.
Converted TestApp demo over to the new demo structure.
More class driver documentation improvements.
|
|
|
|
| |
driver. All device demos/projects have now been converted to the new library class drivers, although documentation is yet to be completed.
|
|
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.
|