Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result typecasting...
authorDean Camera <dean@fourwalledcubicle.com>
Mon, 25 Apr 2011 07:28:36 +0000 (07:28 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Mon, 25 Apr 2011 07:28:36 +0000 (07:28 +0000)
commitf670bdeff83ee519b67c661cbe794d787c2a5403
treeb92a94dc8195e498981bc33a704b5be381ba40d7
parent7b0cebc1d7c3fe55fa10acb66de60e52c2478195
Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result typecasting to the SWAPENDIAN_* macros.

Switch to using -1 on the UC3 target to obtain a register mask with all bits set (for clearing interrupts and status flags).

Fix incorrect USB controller mode on the UC3 when a fixed mode is specified as a compile time option due to AVR32_USBB.USBCON.uide being set by default.

Make USB_Descriptor_String_t use a uint16_t for Unicode strings on all targets except the AVR8 (retained for backwards compatibility).
LUFA/CodeTemplates/makefile_template.uc3
LUFA/Common/Common.h
LUFA/Common/Endianness.h
LUFA/Drivers/USB/Core/StdDescriptors.h
LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c
LUFA/Drivers/USB/Core/UC3/Pipe_UC3.c
LUFA/Drivers/USB/Core/UC3/USBController_UC3.c
LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c