Skip to content

Commit b2fce4c

Browse files
authored
Merge pull request #471 from agdl/I2SDefinitionsNano
Added I2S definitions for NANO 33 IoT
2 parents fe349e4 + 895740f commit b2fce4c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

variants/nano_33_iot/variant.h

+8-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,14 @@ static const uint8_t SCL = PIN_WIRE_SCL;
163163

164164
// I2S Interfaces
165165
// --------------
166-
#define I2S_INTERFACES_COUNT 0
166+
#define I2S_INTERFACES_COUNT 1
167+
168+
#define I2S_DEVICE 0
169+
#define I2S_CLOCK_GENERATOR 3
170+
171+
#define PIN_I2S_SD (4u)
172+
#define PIN_I2S_SCK (PIN_A3)
173+
#define PIN_I2S_FS (PIN_A2)
167174

168175
// Serial ports
169176
// ------------

0 commit comments

Comments
 (0)