From bc41cbd26d26c9e8e4656948377d157fa3585ee9 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 14 Jul 2011 05:38:32 +0000 Subject: Add support for triple endpoint/pipe bank AVR32 UC3 devices. --- LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h') diff --git a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h index ae8f0363c..25a4586d8 100644 --- a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h @@ -161,6 +161,17 @@ * bank. */ #define PIPE_BANK_DOUBLE AVR32_USBB_UPCFG0_PBK_DOUBLE + + #if defined(USB_SERIES_UC3A3_AVR32) || defined(USB_SERIES_UC3A4_AVR32) || defined(__DOXYGEN__) + /** Mask for the bank mode selection for the \ref Pipe_ConfigurePipe() macro. This indicates that the + * pipe should have three banks, which requires more USB FIFO memory but results in faster transfers + * as one USB device (the AVR or the attached device) can access one bank while the other accesses the + * remaining banks. + * + * \note Not available on all AVR models. + */ + #define PIPE_BANK_TRIPLE AVR32_USBB_UPCFG0_PBK_TRIPLE + #endif //@} /** Default size of the default control pipe's bank, until altered by the Endpoint0Size value -- cgit v1.2.3