NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
main.c File Reference

DMA demo program. More...

#include <neorv32.h>

Macros

User configuration
#define BAUD_RATE   19200
 

Functions

void show_arrays (void)
 
void dma_firq_handler (void)
 
int main ()
 

Variables

volatile uint32_t dma_src [4]
 
volatile uint32_t dma_dst [4]
 

Detailed Description

DMA demo program.

Author
Stephan Nolting

Macro Definition Documentation

◆ BAUD_RATE

#define BAUD_RATE   19200

UART BAUD rate

Function Documentation

◆ dma_firq_handler()

void dma_firq_handler ( void )

DMA FIRQ handler.

Warning
This function has to be of type "void xyz(void)" and must not use any interrupt attributes!

◆ main()

int main ( void )

Simple demo program to showcase the NEORV32 DMA controller.

Note
This program requires UART0 and the DMA controller to be synthesized.
Returns
Irrelevant.

◆ show_arrays()

void show_arrays ( void )

Print test data arrays