Forum Discussion
Altera_Forum
Honored Contributor
15 years agoLittle help with DMA reading from a source
Hello i have a fifo that get's filled after 10 seconds and i want to read half of the fifo from my DMA. How can i do that? I am recieving a half_full signal from my fifo, which generates an IRQ. ...
Altera_Forum
Honored Contributor
15 years agoHello Cris72, i see that the rcon bit is the bit number 8, what would be the C code to set it? I can't find in the literature..
Thanks nvm you've answered me this before#include "altera_avalon_dma_regs.h"
int reg;
reg = IORD_ALTERA_AVALON_DMA_CONTROL (dma_base_address);
IOWR_ALTERA_AVALON_DMA_CONTROL (dma_base_address, reg | ALTERA_AVALON_DMA_CONTROL_RCON_MSK);