Skip to content

Commit 74cfc24

Browse files
committed
I2C slave support for Hallowing M4
1 parent efd2961 commit 74cfc24

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

variants/hallowing_m4/variant.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ static const uint8_t SCK1 = PIN_SPI1_SCK ;
167167
#define PIN_WIRE_SCL (25u)
168168
#define PERIPH_WIRE sercom2
169169
#define WIRE_IT_HANDLER SERCOM2_Handler
170+
#define WIRE_IT_HANDLER_0 SERCOM2_0_Handler
171+
#define WIRE_IT_HANDLER_1 SERCOM2_1_Handler
172+
#define WIRE_IT_HANDLER_2 SERCOM2_2_Handler
173+
#define WIRE_IT_HANDLER_3 SERCOM2_3_Handler
170174

171175
static const uint8_t SDA = PIN_WIRE_SDA;
172176
static const uint8_t SCL = PIN_WIRE_SCL;

0 commit comments

Comments
 (0)