Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8142

SDK • Re: adc dma capture example -- DMA_SIZE_8

$
0
0
See last arg here:

Code:

    adc_fifo_setup(        true,    // Write each completed conversion to the sample FIFO        true,    // Enable DMA data request (DREQ)        1,       // DREQ (and IRQ) asserted when at least 1 sample present        false,   // We won't see the ERR bit because of 8 bit reads; disable.        true     // Shift each sample to 8 bits when pushing to FIFO    );

Statistics: Posted by kilograham — Fri Nov 22, 2024 3:48 am



Viewing all articles
Browse latest Browse all 8142

Trending Articles