diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-20 13:08:27 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-20 13:08:27 +0000 |
commit | 5d7827a573b7c9d110b1a9b180b5c2596c50ea3b (patch) | |
tree | ef4fb7464cd587f3875e3d21b60c2c6ae846f4cc /LUFA | |
parent | d784baaa3a97929fc9a7fed7fff84ff7b0f5bc17 (diff) | |
download | lufa-5d7827a573b7c9d110b1a9b180b5c2596c50ea3b.tar.gz lufa-5d7827a573b7c9d110b1a9b180b5c2596c50ea3b.tar.bz2 lufa-5d7827a573b7c9d110b1a9b180b5c2596c50ea3b.zip |
Minor internal macro renaming for the UC3 devices.
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/HID.c | 4 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/Device_UC3.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h | 6 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/USBController_UC3.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Core/USBMode.h | 12 | ||||
-rw-r--r-- | LUFA/ManPages/MainPage.txt | 2 |
7 files changed, 15 insertions, 15 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/HID.c b/LUFA/Drivers/USB/Class/Host/HID.c index 992f7b3a6..aab35b109 100644 --- a/LUFA/Drivers/USB/Class/Host/HID.c +++ b/LUFA/Drivers/USB/Class/Host/HID.c @@ -112,7 +112,7 @@ uint8_t HID_Host_ConfigurePipes(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo DoubleBanked = HIDInterfaceInfo->Config.DataINPipeDoubleBank; InterruptPeriod = DataINEndpoint->PollingIntervalMS; - HIDInterfaceInfo->State.DataINPipeSize = DataINEndpoint->EndpointSize; + HIDInterfaceInfo->State.DataINPipeSize = DataINEndpoint->EndpointSize; } else if (PipeNum == HIDInterfaceInfo->Config.DataOUTPipeNumber) { @@ -148,7 +148,7 @@ uint8_t HID_Host_ConfigurePipes(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo HIDInterfaceInfo->State.HIDReportSize = HIDDescriptor->HIDReportLength; HIDInterfaceInfo->State.SupportsBootProtocol = (HIDInterface->SubClass != HID_CSCP_NonBootProtocol); HIDInterfaceInfo->State.LargestReportSize = 8; - HIDInterfaceInfo->State.IsActive = true; + HIDInterfaceInfo->State.IsActive = true; return HID_ENUMERROR_NoError; } diff --git a/LUFA/Drivers/USB/Core/UC3/Device_UC3.h b/LUFA/Drivers/USB/Core/UC3/Device_UC3.h index 22e17464d..53d497a68 100644 --- a/LUFA/Drivers/USB/Core/UC3/Device_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Device_UC3.h @@ -83,7 +83,7 @@ //@}
#if (!defined(NO_INTERNAL_SERIAL) && \
- (defined(USB_SERIES_UC3A3_AVR) || defined(USB_SERIES_UC3A4_AVR) || \
+ (defined(USB_SERIES_UC3A3_AVR32) || defined(USB_SERIES_UC3A4_AVR32) || \
defined(__DOXYGEN__)))
/** String descriptor index for the device's unique serial number string descriptor within the device.
* This unique serial number is used by the host to associate resources to the device (such as drivers or COM port
diff --git a/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h b/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h index 41ab16564..98067e635 100644 --- a/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h @@ -98,7 +98,7 @@ #define _ENDPOINT_GET_BANKS2(EPDetails) _ENDPOINT_GET_BANKS3(EPDetails)
#define _ENDPOINT_GET_BANKS3(MaxSize, Banks) (Banks)
- #if defined(USB_SERIES_UC3A0_AVR) || defined(USB_SERIES_UC3A1_AVR)
+ #if defined(USB_SERIES_UC3A0_AVR32) || defined(USB_SERIES_UC3A1_AVR32)
#define ENDPOINT_DETAILS_MAXEP 7
#define ENDPOINT_DETAILS_EP0 64, 1
@@ -108,7 +108,7 @@ #define ENDPOINT_DETAILS_EP4 64, 2
#define ENDPOINT_DETAILS_EP5 256, 2
#define ENDPOINT_DETAILS_EP6 256, 2
- #elif defined(USB_SERIES_UC3A3_AVR) || defined(USB_SERIES_UC3A4_AVR)
+ #elif defined(USB_SERIES_UC3A3_AVR32) || defined(USB_SERIES_UC3A4_AVR32)
#define ENDPOINT_DETAILS_MAXEP 8
#define ENDPOINT_DETAILS_EP0 64, 1
@@ -118,7 +118,7 @@ #define ENDPOINT_DETAILS_EP4 512, 2
#define ENDPOINT_DETAILS_EP5 512, 2
#define ENDPOINT_DETAILS_EP6 512, 2
- #elif defined(USB_SERIES_UC3B0_AVR) || defined(USB_SERIES_UC3B1_AVR)
+ #elif defined(USB_SERIES_UC3B0_AVR32) || defined(USB_SERIES_UC3B1_AVR32)
#define ENDPOINT_DETAILS_MAXEP 7
#define ENDPOINT_DETAILS_EP0 64, 1
diff --git a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h index b82b27e54..2444a2c63 100644 --- a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h @@ -168,7 +168,7 @@ */
#define PIPE_CONTROLPIPE_DEFAULT_SIZE 64
- #if defined(USB_SERIES_UC3A3_AVR) || defined(USB_SERIES_UC3A4_AVR) || defined(__DOXYGEN__)
+ #if defined(USB_SERIES_UC3A3_AVR32) || defined(USB_SERIES_UC3A4_AVR32) || defined(__DOXYGEN__)
/** Total number of pipes (including the default control pipe at address 0) which may be used in
* the device.
*/
diff --git a/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h b/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h index da32b3ed4..eaff22278 100644 --- a/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h @@ -298,7 +298,7 @@ /* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__)
/* Macros: */
- #if (defined(USB_SERIES_UC3A3_AVR) || defined(USB_SERIES_UC3A4_AVR))
+ #if (defined(USB_SERIES_UC3A3_AVR32) || defined(USB_SERIES_UC3A4_AVR32))
#define USB_CLOCK_REQUIRED_FREQ 12000000UL
#else
#define USB_CLOCK_REQUIRED_FREQ 48000000UL
diff --git a/LUFA/Drivers/USB/Core/USBMode.h b/LUFA/Drivers/USB/Core/USBMode.h index 905b5687b..fad94226f 100644 --- a/LUFA/Drivers/USB/Core/USBMode.h +++ b/LUFA/Drivers/USB/Core/USBMode.h @@ -144,34 +144,34 @@ #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3A0512__) || defined(__AVR32_UC3A0256__) || \ defined(__AVR32_UC3A0128__) || defined(__AVR32_UC3A064__)) - #define USB_SERIES_UC3A0_AVR + #define USB_SERIES_UC3A0_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3A1512__) || defined(__AVR32_UC3A1256__) || \ defined(__AVR32_UC3A1128__) || defined(__AVR32_UC3A164__)) - #define USB_SERIES_UC3A1_AVR + #define USB_SERIES_UC3A1_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3A3256__) || defined(__AVR32_UC3A3256S__) || \ defined(__AVR32_UC3A3128__) || defined(__AVR32_UC3A3128S__) || \ defined(__AVR32_UC3A364__) || defined(__AVR32_UC3A364S__)) - #define USB_SERIES_UC3A3_AVR + #define USB_SERIES_UC3A3_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3A4256__) || defined(__AVR32_UC3A4256S__) || \ defined(__AVR32_UC3A4128__) || defined(__AVR32_UC3A4128S__) || \ defined(__AVR32_UC3A464__) || defined(__AVR32_UC3A464S__)) - #define USB_SERIES_UC3A4_AVR + #define USB_SERIES_UC3A4_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3B0512__) || defined(__AVR32_UC3B0256__) || \ defined(__AVR32_UC3B0128__) || defined(__AVR32_UC3B064__)) - #define USB_SERIES_UC3B0_AVR + #define USB_SERIES_UC3B0_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #elif (defined(__AVR32_UC3B1512__) || defined(__AVR32_UC3B1256__) || \ defined(__AVR32_UC3B1128__) || defined(__AVR32_UC3B164__)) - #define USB_SERIES_UC3B1_AVR + #define USB_SERIES_UC3B1_AVR32 #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST #endif diff --git a/LUFA/ManPages/MainPage.txt b/LUFA/ManPages/MainPage.txt index f18a6a274..0ab9d56dc 100644 --- a/LUFA/ManPages/MainPage.txt +++ b/LUFA/ManPages/MainPage.txt @@ -8,7 +8,7 @@ * \mainpage * * \image html LUFA.png - * <div align="center"><small><i>Logo design by <a href="http://ryophotography.wordpress.com">Ryo Photography</a></i></small></div> + * <div align="center"><small><i>Logo design by <a href="http://www.studiomonsoon.com">Studio Monsoon Photography</a></i></small></div> * \n * <div align="center"><a href="http://www.lufa-lib.org">http://www.lufa-lib.org</a></div> * \n |