We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2cfe52 commit a780f1fCopy full SHA for a780f1f
variants/arduino_zero/variant.h
@@ -129,6 +129,9 @@ static const uint8_t ATN = PIN_ATN;
129
#define PIN_SPI_MISO (22u)
130
#define PIN_SPI_MOSI (23u)
131
#define PIN_SPI_SCK (24u)
132
+#define PERIPH_SPI sercom4
133
+#define PAD_SPI_TX SPI_PAD_2_SCK_3
134
+#define PAD_SPI_RX SERCOM_RX_PAD_0
135
136
static const uint8_t SS = PIN_A2 ; // SERCOM4 last PAD is present on A2 but HW SS isn't used. Set here only for reference.
137
static const uint8_t MOSI = PIN_SPI_MOSI ;
@@ -142,6 +145,8 @@ static const uint8_t SCK = PIN_SPI_SCK ;
142
145
143
146
#define PIN_WIRE_SDA (20u)
144
147
#define PIN_WIRE_SCL (21u)
148
+#define PERIPH_WIRE sercom3
149
+#define WIRE_IT_HANDLER SERCOM3_Handler
150
151
/*
152
* USB
0 commit comments