Skip to content

Commit 7861913

Browse files
committed
MKRZero: Add I2S info to variant.h
1 parent 2537ab3 commit 7861913

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

variants/mkrzero/variant.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,16 @@ static const uint8_t SCK1 = PIN_SPI1_SCK;
141141
#define PIN_USB_DP (23ul)
142142
#define PIN_USB_HOST_ENABLE (24ul)
143143

144+
// I2S Interfaces
145+
// --------------
146+
#define I2S_INTERFACES_COUNT 1
147+
148+
#define I2S_DEVICE 0
149+
#define I2S_CLOCK_GENERATOR 3
150+
#define PIN_I2S_SD (PIN_A6)
151+
#define PIN_I2S_SCK (2u)
152+
#define PIN_I2S_FS (3u)
153+
144154
// Serial ports
145155
// ------------
146156
#ifdef __cplusplus

0 commit comments

Comments
 (0)