Update board Dataflash_Init() functions to automatically configure the appropriate communication interface.
This commit is contained in:
parent
6d58628e85
commit
f7b9ebea02
16 changed files with 37 additions and 20 deletions
|
@ -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: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue