Sfoglia il codice sorgente

Add comment with link to I2S hardware explanation

dds
PaulStoffregen 3 anni fa
parent
commit
ebfb3270fe
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      output_i2s.cpp

+ 3
- 0
output_i2s.cpp Vedi File

@@ -42,6 +42,9 @@ DMAMEM __attribute__((aligned(32))) static uint32_t i2s_tx_buffer[AUDIO_BLOCK_SA
#include "utility/imxrt_hw.h"
#endif

// high-level explanation of how this I2S & DMA code works:
// https://forum.pjrc.com/threads/65229?p=263104&viewfull=1#post263104

void AudioOutputI2S::begin(void)
{
dma.begin(true); // Allocate the DMA channel first

Loading…
Annulla
Salva