Dean Camera
3e04487279
Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver (thanks to Laszlo Monda).
13 years ago
Dean Camera
dc09ccab8b
Minor corrections for the XMEGA USB controller. Add compile time warning if the USB clock frequency is provably incorrect.
13 years ago
Dean Camera
e30be658c9
Add missing SVN eol-style property to ensure that source code line endings and converted to the native values on checkout.
13 years ago
Dean Camera
8df0cf3241
Fixed race conditions in the CDC, HID and Mass Storage class drivers when processing some control requests.
13 years ago
Dean Camera
0ad6f1fb53
Add partial support for the Atmel A3BU Xplained's Dataflash IC (physical USART-as-SPI transport driver still pending).
13 years ago
Dean Camera
cb7f7a8241
Fix XMEGA core USB driver endpoint code to prevent incorrect STALL determination.
13 years ago
Dean Camera
139c1afeeb
Add XMEGA SPI peripheral driver.
13 years ago
Dean Camera
7992202603
Add support for the new MEGA B series devices.
13 years ago
Dean Camera
00ad509061
Add support for the Atmel XMEGA A3BU Xplained board.
...
More XMEGA USB core fixes.
13 years ago
Dean Camera
0304916356
Fix XMEGA core USB driver so that device mode enumerates correctly on the host PC.
13 years ago
Dean Camera
1e0c3bc69a
Namespace out the internal endpoint globals in the XMEGA architecture.
13 years ago
Dean Camera
fe87b8a225
Update ENDPOINT_EPNUM_MASK to be 0x0F, the maximum possible USB endpoint number within a device, rather than just the maximum number for the AVR8 and UC3 targets of 0x07.
13 years ago
Dean Camera
72717825e5
Namespace out the internal endpoint and pipe globals in the UC3 architecture.
13 years ago
Dean Camera
b714ffbfa0
Update XMEGA clock management so that the correct 16-bit calibration is used when requested. Fix endpoint descriptor table so that the frame number is stored into the correct location. Add compile time option to source the USB clock from the PLL rather than the internal 32MHz RC oscillator.
13 years ago
Dean Camera
ab43251bf9
Minor documentation fixes.
13 years ago
Dean Camera
028a3c4ab3
XMEGA port improvements; connection and disconnection are now detected correctly. Fixed incorrect interrupt priority levels being set for XMEGA devices.
13 years ago
Dean Camera
f1543ae8ff
Fixed CDC class drivers not saving and sending all 16-bits of the control line states (thanks to Matthew Swabey).
13 years ago
Dean Camera
bc14c1a7f6
Update XMEGA platform clock management example code to suit the currently released silicon.
...
Cleanups to the UC3 endpoint/pipe multi byte read code.
13 years ago
Dean Camera
738c9203fc
Fixed ring buffer size limited to 255 elements, instead of the intended 65535 elements.
13 years ago
Dean Camera
c15eaa5dae
When automatic PLL management mode is enabled on the U4 series AVR8 chips, the PLL is now configured for 48MHz and not a divided 96MHz, to lower power consumption and to keep the system within the datasheet specs for 3.3V operation (thanks to Scott Vitale).
13 years ago
Dean Camera
68e777e16b
Prevent written but unused variable warnings on GCC 4.6 with dummy reads.
13 years ago
Dean Camera
a4d67bb6ff
USB XMEGA support improvements; add DFLL clock platform support, ensure the endpoint table is correctly aligned and configured in the USB controller.
13 years ago
Dean Camera
6553bf5bfb
Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices.
13 years ago
Dean Camera
2ae41fb153
Added endian-correction to the CDC driver's Line Encoding control request handlers.
13 years ago
Dean Camera
3bb8055459
Fix compile errors for the USB XMEGA parts when the USB driver is used.
...
Add core support for the ATXMEGA64A1U.
Minor documentation corrections.
13 years ago
Dean Camera
3223786c49
Fix compile error on the UC3 targets when INTERRUPT_CONTROL_ENDPOINT compile time option is used (thanks to Ian Woloschin).
...
Small size improvement for Little Endian devices when USB host mode is used.
Minor documentation fixes.
13 years ago
Dean Camera
77dbfd3cc4
Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with that meta-attribute are not discarded by the linker.
...
Add missing function and definition documentation.
13 years ago
Dean Camera
022fa26b43
Fix missing C++ linkage command in ArchitectureSpecific.h.
...
Fix missing closing brace in an Endpoint function for the UC3 targets.
13 years ago
Dean Camera
b5682f2c44
Add project name to the Doxygen makefile target output.
13 years ago
Dean Camera
99ff27e403
Fixed HID Parser's largest report size bit count not including the size of the last parsed report item.
...
Fixed HID host driver's largest HID report size count corrupt when the number of report bits exceeds 255.
13 years ago
Dean Camera
4b229cb5ef
Fixed optimization error in the HID Parser item value USB_SetHIDReportItemInfo() and USB_GetHIDReportItemInfo() routines if the report item was NULL (which should be allowable according to the API).
...
Fixed HID Parser CALLBACK_HIDParser_FilterHIDReportItem() callback function not being passed a cacheable report item pointer.
14 years ago
Dean Camera
94e0a0058a
Oops - restore conditional calls to USB_USBTask() in the Mass Storage class driver for the non-stream loops.
14 years ago
Dean Camera
e64f4b0cd9
Update the TempDataLogger project and driver documentation to use the new TWI_BITLENGTH_FROM_FREQ() macro.
14 years ago
Dean Camera
413438eb23
Add new TWI_BITLENGTH_FROM_FREQ() macro to the AVR8 TWI peripheral driver.
...
Change Delay_MS() to accept a 16-bit parameter rather than an 8-bit parameter for longer possible delays.
Minor documentation improvements.
14 years ago
Dean Camera
88d022a752
Make TWI_ReadPacket() use a repeated start condition rather than a full bus release/recapture after the read address has been sent.
...
Fix TWI_ReadPacket() not releasing the bus correctly after all data transferred.
Make TWI_SendByte() and TWI_ReceiveByte() non-inline to reduce compiled binary size.
14 years ago
Dean Camera
dc9133ad21
Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq module where it is used.
14 years ago
Dean Camera
3b898ae178
Remove redundant prototype for Audio_Host_StartStopStreaming() and Audio_Host_GetSetEndpointProperty(). Update host mode Audio class inline functions to prevent unused parameter warnings.
14 years ago
Dean Camera
a233109909
Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the function works on an endpoint address within the attached device, and not a Pipe within the host.
...
Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons).
Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage.
Minor documentation corrections.
14 years ago
Dean Camera
cff190b8f4
Minor documentation fixes.
...
Add extra parenthesis around terms in the common MIN() and MAX() macros to prevent issues with non-trivial macro inputs (thanks to David Lyons).
14 years ago
Dean Camera
2d9f98b592
Add multiple axis support to the HID joystick report in the HID_DESCRIPTOR_JOYSTICK() macro.
14 years ago
Dean Camera
d0ac8e46f9
Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().
...
Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines.
Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values.
Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.
14 years ago
Dean Camera
af725dd418
Fix TWI peripheral driver example code in the library documentation.
14 years ago
Dean Camera
9708b45e69
Minor documentation corrections.
14 years ago
Dean Camera
ddae47979d
Update LUFAConfig.h with missing options for the AVR32 target.
...
Add Binary Page Mode fuse command bytes to the AT45DB642D.h Dataflash header.
14 years ago
Dean Camera
40728fd20d
Remove redundant calls to USB_USBTask() in the Mass Storage Device Class driver when INTERRUPT_CONTROL_ENDPOINT is not used, as this is done inside the stream callbacks.
...
Fix implementations of Endpoint_SetEndpointDirection() and Endpoint_GetEndpointDirection() for the AVR8 architecture.
14 years ago
Dean Camera
d5e874d348
Add INTERRUPT_CONTROL_ENDPOINT compile time option support for the UC3 devices.
14 years ago
Dean Camera
5c274d106b
Fixed USB_USBTask not being called internally in stream transfers between packets when Partial Stream Transfers are used.
...
Remove old unused function prototype in the LowLevel MassStorage device demo.
14 years ago
Dean Camera
110711598a
Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
14 years ago
Dean Camera
2c404e5af5
Add support for the ORDERED_EP_CONFIG compile time token on the UC3 architecture.
14 years ago
Dean Camera
69243c5071
Move out the EP_TYPE_* macros to the base USBController.h header, as these are used in the device descriptors as well and thus must not be changed.
14 years ago