| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
into a string descriptor (if present).
Fix incorrect warning text when an unsuitable F_CLOCK value is given.
|
|
|
|
| |
changed it to return the maximum number of supported banks for the given endpoint.
|
|
|
|
| |
tool made by Laszlo Monda
|
|
|
|
|
|
| |
interface was not configured.
Small documentation improvements to explicitly reference tokens in Doxygen, to ensure that they are converted to cross-reference links in the output files.
|
|
|
|
|
|
|
|
| |
Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic.
Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run.
Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().
|
|
|
|
| |
reduce the compiled binary size.
|
|
|
|
| |
multiple checks are required in a single loop iteration, to reduce compiled code size.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
on the configuration order instead to ensure maximum reliability.
Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly.
Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices.
Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
|
|
|
|
|
|
| |
project so that it defaults to active low drive.
Fixed incorrect USB_DeviceState value when unconfiguring the device without an address set.
|
|
|
|
|
|
| |
callback function causing broken GET REPORT requests.
Minor whitespace fixes.
|
|
|
|
|
|
|
|
| |
host mode operation.
Fixed SUSPI interrupt not being cleared during device mode enumeration, causing accidental mis-fires on re-enumeration.
Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode.
|
|
|
|
| |
no devices will be detected.
|
|
|
|
| |
endpoint's direction from the currently selected pipe.
|
|
|
|
| |
the same naming scheme as the other USB ISR macros.
|
|
|
|
| |
reset, so that the device will enumerate correctly on hosts that do not reset the device before initial use.
|
|
|
|
| |
compiled for the series 2 USB AVRs.
|
| |
|
|
|
|
|
|
| |
setup and reset paths.
Make USBInterrupt.c process all pending USB host mode interrupts before resetting the bus, so that no interrupts are lost when in UID auto-selection mode.
|
|
|
|
|
|
|
|
| |
address, as per datasheet.
Minor documentation fixes.
Fix broken USB host mode due to the USB frame counter not being updated during the early enumeration steps, causing USB_Host_DelayMS() to spinloop forever.
|
|
|
|
| |
USB_Init() now defaults the controller into UID selection mode.
|
|
|
|
| |
unconfigured endpoint causing request timeouts.
|
|
|
|
| |
reconfiguration of all endpoints/pipes in the Endpoint_ConfigureEndpoint() and Pipe_ConfigurePipe() routines.
|
|
|
|
| |
accidentally clearing the pipe's IN mode.
|
|
|
|
|
|
|
|
| |
functions to retrieve the current USB frame number.
Added new USB_Host_EnableSOFEvents(), USB_Host_DisableSOFEvents() and EVENT_USB_Host_StartOfFrame() for the user application handling of USB Start of Frame events while in USB Host mode.
Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible to free up the Start of Frame flag for interrupt use in the user application.
|
|
|
|
| |
device compatibility while in USB Host mode, as some devices will drop off the USB bus if no connection is made within a timeout period.
|
|
|
|
| |
board (thanks to Steve Fawcett).
|
|
|
|
| |
Pipe_ConfigurePipe() functions.
|
|
|
|
| |
so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
|
| |
|
|
|
|
| |
when CONTROL_ONLY_DEVICE compile time token is defined.
|
|
|
|
| |
and PipeStream.c/.h files.
|
|
|
|
| |
chips, as the default VTARGET detection ADC channel does not exist on these chips (thanks to Marco).
|
|
|
|
| |
address space could be silently overlapped in the USB controller if the endpoints or pipes were allocated in anything other than ascending order (thanks to Martin Degelsegger).
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
EN-GB spelling dictionary.
|
|
|
|
| |
masking for the private endpoint configuration routine, instead of performing the masking in the Endpoint_ConfigureEndpoint() macro.
|
|
|
|
| |
header structure, so that all header data is read in one chunk in the incomplete TMC demo.
|
| |
|
|
|
|
| |
added type-safety and compile-checking.
|
|
|
|
| |
results in smaller code.
|
|
|
|
| |
Indent core library function parameters so that there is only one parameter per line, to increase readability.
|
|
|
|
|
|
|
|
| |
directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h.
Rename LowLevel.c/.h to USBController.c/.h.
Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
|
|
|
|
|
|
| |
bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform.
Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
|
| |
|
|
|
|
|
|
| |
functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request.
Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
|
|
|
|
| |
Minor tweaks to the library documentation.
|
|
|
|
| |
the new 1.7 Doxygen's default stylesheet is much better.
|
| |
|
|
|
|
| |
pipes, rather than performing token check first.
|