Add U2S board support
[pub/USBasp.git] / LUFA / Drivers / Peripheral / XMEGA / SerialSPI_XMEGA.h
index 7f5226b..caae55a 100644 (file)
                        #define USART_SPI_SAMPLE_LEADING       0
 
                        /** SPI data sample mode mask for \ref SerialSPI_Init(). Indicates that the data should be sampled on the trailing edge. */
-                       #define USART_SPI_SAMPLE_TRAILING      USART_UPCHA_bm
+                       #define USART_SPI_SAMPLE_TRAILING      (1 << 1)
                        //@}
 
                        /** \name SPI Data Ordering Configuration Masks */
                        #define USART_SPI_ORDER_MSB_FIRST      0
 
                        /** SPI data order mask for \ref SerialSPI_Init(). Indicates that data should be shifted out LSB first. */
-                       #define USART_SPI_ORDER_LSB_FIRST      USART_UDORD_bm
+                       #define USART_SPI_ORDER_LSB_FIRST      (1 << 2)
                        //@}
 
                /* Inline Functions: */