Skip to content

Commit 84cef9a

Browse files
committed
I2C slave support for Pybadge Airlift M4
1 parent 3202e77 commit 84cef9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

variants/pybadge_airlift_m4/variant.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ static const uint8_t SCK1 = PIN_SPI1_SCK ;
184184
#define PIN_WIRE_SCL (25u)
185185
#define PERIPH_WIRE sercom2
186186
#define WIRE_IT_HANDLER SERCOM2_Handler
187+
#define WIRE_IT_HANDLER_0 SERCOM2_0_Handler
188+
#define WIRE_IT_HANDLER_1 SERCOM2_1_Handler
189+
#define WIRE_IT_HANDLER_2 SERCOM2_2_Handler
190+
#define WIRE_IT_HANDLER_3 SERCOM2_3_Handler
187191

188192
static const uint8_t SDA = PIN_WIRE_SDA;
189193
static const uint8_t SCL = PIN_WIRE_SCL;

0 commit comments

Comments
 (0)