Add support for triple endpoint/pipe bank AVR32 UC3 devices.
[pub/lufa.git] / LUFA / Drivers / USB / Core / UC3 / Pipe_UC3.h
index ae8f036..25a4586 100644 (file)
                         *  bank.\r
                         */\r
                        #define PIPE_BANK_DOUBLE                AVR32_USBB_UPCFG0_PBK_DOUBLE\r
+\r
+                       #if defined(USB_SERIES_UC3A3_AVR32) || defined(USB_SERIES_UC3A4_AVR32) || defined(__DOXYGEN__)\r
+                               /** Mask for the bank mode selection for the \ref Pipe_ConfigurePipe() macro. This indicates that the\r
+                                *  pipe should have three banks, which requires more USB FIFO memory but results in faster transfers\r
+                                *  as one USB device (the AVR or the attached device) can access one bank while the other accesses the\r
+                                *  remaining banks.\r
+                                *\r
+                                *  \note Not available on all AVR models.\r
+                                */\r
+                               #define PIPE_BANK_TRIPLE           AVR32_USBB_UPCFG0_PBK_TRIPLE\r
+                       #endif\r
                        //@}\r
 \r
                        /** Default size of the default control pipe's bank, until altered by the Endpoint0Size value\r