- 20 May, 2009 1 commit
-
-
Dean Camera authored
-
- 19 May, 2009 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
USB_IsConnected is now cleared before the USB_Disconnect() event is fired in response to VBUS being removed. Minor documentation improvements.
-
- 18 May, 2009 1 commit
-
-
Dean Camera authored
Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley). Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code. Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
-
- 17 May, 2009 1 commit
-
-
Dean Camera authored
-
- 15 May, 2009 3 commits
-
-
Dean Camera authored
Create a new function pointer type in StreamCallbacks.h for endpoint/pipe stream callbacks, to make stream function prototypes clearer.
-
Dean Camera authored
Fix to previous patch (make CDCHost demo deallocate pipes when an invalid CDC interface is skipped). Remove the saving of the USB_GetNextDescriptorComp() return value in all host demos, since it went unused anyway; replaced with a simple check against the success error code for clarity.
-
Dean Camera authored
Fixed CDCHost not clearing configured endpoints and resetting configured endpoints mask when a partially enumerated invalid CDC interface is skipped.
-
- 14 May, 2009 1 commit
-
-
Dean Camera authored
Removed all user pipe/endpoint interrupt APIs, added internal library support for interrupt driven control endpoints when in device mode by defining INTERRUPT_CONTROL_ENDPOINT token and passing it to the compiler via the -D switch.
-
- 13 May, 2009 2 commits
-
-
Dean Camera authored
Fixed Device Mode not handling Set Feature and Clear Feature Chapter 9 requests that are addressed to the device (thanks to Brian Dickman).
-
Dean Camera authored
Moved USB Host state machine code out from USBTask.c and into Host.c, where it more properly belongs.
-
- 12 May, 2009 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
Fixed Mouse and Keyboard device demos not acting in accordance with the HID specification for idle periods (thanks to Brian Dickman). Removed support for endpoint/pipe non-control interrupts; these did not act in the way users expected, and had many subtle issues.
-
- 11 May, 2009 2 commits
-
-
Dean Camera authored
Fixed RNDISEthernet not working under Linux due to Linux requiring an "optional" request which was unhandled.
-
Dean Camera authored
Fixed bug in RNDISEthernet and DualCDC demos not using the correct USB_ControlRequest structure for control request data. Fixed documentation showing incorrect USB mode support on the supported AVRs list.
-
- 10 May, 2009 1 commit
-
-
Dean Camera authored
Commit for the 090510 release.
-
- 07 May, 2009 4 commits
-
-
Dean Camera authored
Renamed the the TotalHIDReports element of the HID descriptor structure in the HID class demos to TotalReportDescriptors, to be more accurate of the element's function (thanks to Brian Dickman).
-
Dean Camera authored
Init function of the Serial driver is now static inline to product smaller code for the common-case of static init.
-
Dean Camera authored
-
Dean Camera authored
-
- 06 May, 2009 3 commits
-
-
Dean Camera authored
Minor correction to the DevChapter9.c handling of Set and Clear feature requests -- remote wake up requests now complete correctly rather than stalling the request.
-
Dean Camera authored
Change device demos to cache the board button values in the same manner as the board joystick to maintain consistency.
-
Dean Camera authored
Changed HWB board driver to Buttons driver, to allow for the support of future boards with more than one mounted GPIO button.
-
- 05 May, 2009 1 commit
-
-
Dean Camera authored
Fixed missing semicolon in the ATAVRUSBRF01 LED board driver code, changed LED board driver code to define dummy LED masks for the first four board LEDs so that user code can be compiled for boards with less than four LEDs without code modifications (thanks to Morten Lund).
-
- 04 May, 2009 1 commit
-
-
Dean Camera authored
Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems with faulty devices which do not respect the given wLength value when reading in the device descriptor. Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references.
-
- 03 May, 2009 3 commits
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
-
- 02 May, 2009 2 commits
-
-
Dean Camera authored
Fixed Endpoint_Write_Control_* functions writing more data than expected by the host, causing it to panic (thanks to Johannes Raschke).
-
Dean Camera authored
-
- 01 May, 2009 1 commit
-
-
Dean Camera authored
-
- 26 Apr, 2009 2 commits
-
-
Dean Camera authored
Fixed PREVENT ALLOW MEDIUM REMOVAL command issuing in the MassStorageHost demo using incorrect parameters (thanks to Mike Alex). Fixed MassStorageHost demo broken due to an incorrect if statement test in MassStore_GetReturnedStatus().
-
Dean Camera authored
Move the length decrements in the pipe and endpoint stream functions to the point at which the buffers are operated on, to prevent decrements during iterations where no data is exchanged (thanks to Francisco Moraes).
-
- 24 Apr, 2009 1 commit
-
-
Dean Camera authored
Endpoint configuration is now refined to give better output when all configurations have static inputs - removed the now useless STATIC_ENDPOINT_CONFIGURATION compile time token.
-
- 23 Apr, 2009 1 commit
-
-
Dean Camera authored
Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set Feature request was not being handled). Renamed the FEATURELESS_CONTROL_ONLY_DEVICE compile-time token to CONTROL_ONLY_DEVICE.
-
- 22 Apr, 2009 3 commits
-
-
Dean Camera authored
-
Dean Camera authored
Applied STATIC_ENDPOINT_CONFIGURATION and FIXED_CONTROL_SIZE tokens to all Device mode demos to reduce binary size.
-
Dean Camera authored
USB_HostRequest renamed to USB_ControlRequest, entire control request header is now read into USB_ControlRequest in Device mode rather than having the library pass only partially read header data to the application. The USB_UnhandledControlPacket event has had its parameters removed, in favour of accessing the new USB_ControlRequest structure. The Endpoint control stream functions now correctly send a ZLP to the host when less data than requested is sent.
-
- 21 Apr, 2009 1 commit
-
-
Dean Camera authored
Removed specialized Endpoint_ClearControl* and Pipe_ClearControl* macros in favour of the standard Endpoint_Clear* and Pipe_Clear* macros (Atmel have confirmed no effect from setting FIFOCON on control endpoints).
-
- 20 Apr, 2009 1 commit
-
-
Dean Camera authored
-