File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
ports/raspberrypi/common-hal/audiobusio Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1919#include "bindings/rp2pio/StateMachine.h"
2020
2121const uint16_t i2s_program [] = {
22- /*
22+
23+ /* From i2s.pio:
24+
2325.program i2s
2426.side_set 2
2527
@@ -55,7 +57,8 @@ const uint16_t i2s_program[] = {
5557
5658
5759const uint16_t i2s_program_left_justified [] = {
58- /*
60+ /* From i2s_left.pio:
61+
5962.program i2s
6063.side_set 2
6164
@@ -91,7 +94,8 @@ const uint16_t i2s_program_left_justified[] = {
9194
9295// Another version of i2s_program with the LRCLC and BCLK pin swapped
9396const uint16_t i2s_program_swap [] = {
94- /*
97+ /* From i2s_swap.pio:
98+
9599.program i2s
96100.side_set 2
97101
@@ -128,7 +132,8 @@ const uint16_t i2s_program_swap[] = {
128132// Another version of i2s_program_left_justified with the LRCLC and BCLK pin
129133// swapped.
130134const uint16_t i2s_program_left_justified_swap [] = {
131- /*
135+ /* From i2s_swap_left.pio:
136+
132137.program i2s
133138.side_set 2
134139
Original file line number Diff line number Diff line change 11.pio files right now are compiled by hand with pico-sdk/tools/pioasm and inserted into I2SOut.c
2+
3+ i2s.pio regular pin order, not left_justified
4+ i2s_left.pio regular pin order, left_justified
5+
6+ i2s_swap.pio swapped pin order, not left_justified
7+ i2s_swap_left.pio swapped pin order, left_justified
You can’t perform that action at this time.
0 commit comments