steps toward SPI support in watch library

This commit is contained in:
Joey Castillo
2021-10-25 16:04:10 -04:00
parent 22c072ac3f
commit f98bc9bb4e
6 changed files with 86 additions and 2 deletions

View File

@@ -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>