![]() |
NEORV32 - Software Framework Documentation
|
Watchdog demo program. More...
#include <neorv32.h>
Macros | |
User configuration | |
#define | BAUD_RATE 19200 |
#define | WDT_TIMEOUT_S 4 |
Functions | |
void | wdt_firq_handler (void) |
int | main () |
Watchdog demo program.
#define BAUD_RATE 19200 |
UART BAUD rate
#define WDT_TIMEOUT_S 4 |
WDT timeout (until system reset) in seconds
int main | ( | void | ) |
Main function
void wdt_firq_handler | ( | void | ) |
Watchdog FIRQ handler - executed when the WDT has reached half of the configured timeout interval.