Forum Discussion
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);