diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-14 02:58:07 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-14 02:58:07 +0000 |
commit | f4528c4aefcadd3342e9de2360d4c48196394fde (patch) | |
tree | 05782a8247534fc7a08175fe04ec9c03dc48b480 /LUFA/Drivers/USB/Core/UC3/USBController_UC3.h | |
parent | 13951ab043c43d0e3ea4ac0ae6a641fd88e7fcb0 (diff) | |
download | lufa-f4528c4aefcadd3342e9de2360d4c48196394fde.tar.gz lufa-f4528c4aefcadd3342e9de2360d4c48196394fde.tar.bz2 lufa-f4528c4aefcadd3342e9de2360d4c48196394fde.zip |
Add high speed USB support for the UC3 devices containing a high speed USB controller.
Add device support preprocessor checks and use symbolic bit names in the UC3 platform clock management driver.
Diffstat (limited to 'LUFA/Drivers/USB/Core/UC3/USBController_UC3.h')
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/USBController_UC3.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h b/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h index eaff22278..0bad549ca 100644 --- a/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h @@ -92,19 +92,19 @@ * generation module. This indicates that an external oscillator should be used directly instead of an
* internal PLL clock source.
*/
- #define USB_OPT_GCLK_SRC_OSC (1 << 1)
+ #define USB_OPT_GCLK_SRC_OSC (1 << 2)
/** Selects one of the system's PLL oscillators as the input clock to the USB Generic Clock source
* generation module. This indicates that one of the device's PLL outputs should be used instead of an
* external oscillator source.
*/
- #define USB_OPT_GCLK_SRC_PLL (0 << 1)
+ #define USB_OPT_GCLK_SRC_PLL (0 << 2)
/** Selects PLL or External Oscillator 0 as the USB Generic Clock source module input clock. */
- #define USB_OPT_GCLK_CHANNEL_0 (1 << 2)
+ #define USB_OPT_GCLK_CHANNEL_0 (1 << 3)
/** Selects PLL or External Oscillator 1 as the USB Generic Clock source module input clock. */
- #define USB_OPT_GCLK_CHANNEL_1 (0 << 2)
+ #define USB_OPT_GCLK_CHANNEL_1 (0 << 3)
//@}
/** \name Endpoint/Pipe Type Masks */
|