diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-06-12 19:51:57 +0200 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-06-12 19:51:57 +0200 |
commit | f7b9ebea02cf2a48fd4b287f6a445090ea433d52 (patch) | |
tree | bd63623df602229bba4d8f86902c823af97faf16 /LUFA/Drivers/Peripheral/XMEGA | |
parent | 6d58628e85f473001cbacc012d7f25b477c3e797 (diff) | |
download | lufa-f7b9ebea02cf2a48fd4b287f6a445090ea433d52.tar.gz lufa-f7b9ebea02cf2a48fd4b287f6a445090ea433d52.tar.bz2 lufa-f7b9ebea02cf2a48fd4b287f6a445090ea433d52.zip |
Update board Dataflash_Init() functions to automatically configure the appropriate communication interface.
Diffstat (limited to 'LUFA/Drivers/Peripheral/XMEGA')
-rw-r--r-- | LUFA/Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h b/LUFA/Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h index 7f5226b05..caae55a82 100644 --- a/LUFA/Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h +++ b/LUFA/Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h @@ -108,7 +108,7 @@ #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 */ @@ -117,7 +117,7 @@ #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: */ |