| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
|
| |
|
| |
|
|
|
|
| |
to USB_Host_GetDeviceConfigDescriptor().
|
|
|
|
|
|
| |
Added new Printer Host mode ClassDriver demo.
Added table of supported classes and modes to the main USB Class Driver documentation.
|
| |
|
|
|
|
| |
CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
|
|
|
|
| |
of the HID Host Class driver when Report protocol is not needed.
|
|
|
|
| |
device does not have a device ID (thanks to Andrei Krainev).
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Ensure IsActive is set on the interface to allow device functions to run.
Fix spelling of "Received" in all source files where it is misspelt "Recieved".
|
|
|
|
| |
decide which items are to be stored into the HID_ReportInfo_t structure and which should be discarded to save on RAM usage.
|
|
|
|
| |
function so that it now performs size checks and data validations internally, to simplify user code.
|
|
|
|
|
|
|
|
| |
Sig/Lock/Fuse/OSCCAL bytes successfully.
Changed SPI_Init() to allow for the clock polarity and data sample modes to be set.
Changed Dataflash_Init() to no longer call SPI_Init() automatically.
|
|
|
|
|
|
| |
mode, and read/write fuses, lockbits, OSCCAL and Signature bytes.
Added ShutDown functions for all hardware peripheral drivers, so that peripherals can be turned off after use.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
(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.
|
|
|
|
|
|
| |
USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility).
Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
|
|
|
|
| |
for clarity.
|
|
|
|
| |
number within the device to fetch, to add support for multi-configuration devices.
|
|
|
|
| |
scheduler related files as deprecated.
|
|
|