NEORV32 - Software Framework Documentation
Functions
main.c File Reference

External interrupt controller (XIRQ) demo program (using hardware-assisted prioritization). More...

#include <neorv32.h>

Macros

User configuration
#define BAUD_RATE   19200
 

Functions

void xirq_handler_ch0 (void)
 
void xirq_handler_ch1 (void)
 
void xirq_handler_ch2 (void)
 
void xirq_handler_ch3 (void)
 
int main ()
 

Detailed Description

External interrupt controller (XIRQ) demo program (using hardware-assisted prioritization).

Author
Stephan Nolting

Macro Definition Documentation

◆ BAUD_RATE

#define BAUD_RATE   19200

UART BAUD rate

Function Documentation

◆ main()

int main ( void  )

Main function

Note
This program requires the XIRQ and the UART to be synthesized.
Returns
0 if execution was successful

◆ xirq_handler_ch0()

void xirq_handler_ch0 ( void  )

XIRQ handler channel 0.

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

◆ xirq_handler_ch1()

void xirq_handler_ch1 ( void  )

XIRQ handler channel 1.

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

◆ xirq_handler_ch2()

void xirq_handler_ch2 ( void  )

XIRQ handler channel 2.

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

◆ xirq_handler_ch3()

void xirq_handler_ch3 ( void  )

XIRQ handler channel 3.

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