NEORV32 - Software Framework Documentation
Loading...
Searching...
No Matches
main.c File Reference

Watchdog demo program. More...

#include <neorv32.h>

Macros

User configuration
#define BAUD_RATE   19200
 
#define WDT_TIMEOUT_S   8
 

Functions

int main ()
 

Detailed Description

Watchdog demo program.

Author
Stephan Nolting

Macro Definition Documentation

◆ BAUD_RATE

#define BAUD_RATE   19200

UART BAUD rate

◆ WDT_TIMEOUT_S

#define WDT_TIMEOUT_S   8

WDT timeout (until system reset) in seconds

Function Documentation

◆ main()

int main ( void )

Main function

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