We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03beade commit 0ce2527Copy full SHA for 0ce2527
hardware/AMEL/samd/variants/AMEL_SmartEverything/variant.h
@@ -160,6 +160,10 @@ static const uint8_t A5 = PIN_A5 ;
160
#define PIN_SPI_MISO (22u)
161
#define PIN_SPI_MOSI (23u)
162
#define PIN_SPI_SCK (24u)
163
+#define PERIPH_SPI sercom4
164
+#define PAD_SPI_TX SPI_PAD_2_SCK_3
165
+#define PAD_SPI_RX SERCOM_RX_PAD_0
166
+
167
#define PIN_SPI_SS (25u)
168
169
static const uint8_t SS = PIN_SPI_SS ;
@@ -174,6 +178,8 @@ static const uint8_t SCK = PIN_SPI_SCK ;
174
178
175
179
#define PIN_WIRE_SDA (20u)
176
180
#define PIN_WIRE_SCL (21u)
181
+#define PERIPH_WIRE sercom3
182
+#define WIRE_IT_HANDLER SERCOM3_Handler
177
183
184
/*
185
* USB
0 commit comments