Skip to content

Commit 3202e77

Browse files
committed
I2C slave support for Metro Airlift M4
1 parent 0897920 commit 3202e77

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

variants/metro_m4_airlift/variant.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ static const uint8_t SCK = PIN_SPI_SCK ;
176176
#define PIN_WIRE_SCL (23u)
177177
#define PERIPH_WIRE sercom5
178178
#define WIRE_IT_HANDLER SERCOM5_Handler
179+
#define WIRE_IT_HANDLER_0 SERCOM5_0_Handler
180+
#define WIRE_IT_HANDLER_1 SERCOM5_1_Handler
181+
#define WIRE_IT_HANDLER_2 SERCOM5_2_Handler
182+
#define WIRE_IT_HANDLER_3 SERCOM5_3_Handler
179183

180184
static const uint8_t SDA = PIN_WIRE_SDA;
181185
static const uint8_t SCL = PIN_WIRE_SCL;

0 commit comments

Comments
 (0)