steps toward SPI support in watch library
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
|
||||
// Enable configuration of module
|
||||
#ifndef CONF_SERCOM_3_SPI_ENABLE
|
||||
#define CONF_SERCOM_3_SPI_ENABLE 0
|
||||
#define CONF_SERCOM_3_SPI_ENABLE 1
|
||||
#endif
|
||||
|
||||
// Set module in SPI Master mode
|
||||
@@ -180,7 +180,7 @@
|
||||
// <e> Advanced Configuration
|
||||
// <id> spi_master_advanced
|
||||
#ifndef CONF_SERCOM_3_SPI_ADVANCED
|
||||
#define CONF_SERCOM_3_SPI_ADVANCED 0
|
||||
#define CONF_SERCOM_3_SPI_ADVANCED 1
|
||||
#endif
|
||||
|
||||
// <o> Dummy byte <0x00-0x1ff>
|
||||
|
||||
@@ -32,6 +32,7 @@ extern "C" {
|
||||
#include <hal_sleep.h>
|
||||
#include <hal_ext_irq.h>
|
||||
#include <hal_i2c_m_sync.h>
|
||||
#include <hal_spi_m_sync.h>
|
||||
#include <hal_delay.h>
|
||||
#include <hal_slcd_sync.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user