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

Hardware performance monitor (HPM) example program. More...

#include <neorv32.h>

Macros

User configuration
#define BAUD_RATE   19200
 

Functions

int main ()
 

Detailed Description

Hardware performance monitor (HPM) example program.

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 CPU Zihpm extension (with at least 2 regions) and UART0.
Returns
0 if execution was successful