![]() |
NEORV32 API Reference
The NEORV32 RISC-V Processor
|
Direct Memory Access Controller (DMA) HW driver source file. More...
#include <neorv32.h>Functions | |
| int | neorv32_wdt_available (void) |
| void | neorv32_wdt_setup (uint32_t timeout, int lock) |
| int | neorv32_wdt_disable (void) |
| void | neorv32_wdt_feed (uint32_t password) |
| void | neorv32_wdt_force_hwreset (void) |
| int | neorv32_wdt_get_cause (void) |
Direct Memory Access Controller (DMA) HW driver source file.
Watchdog Timer (WDT) HW driver source file.
| int neorv32_wdt_available | ( | void | ) |
Check if WDT unit was synthesized.
| int neorv32_wdt_disable | ( | void | ) |
Disable watchdog timer.
| void neorv32_wdt_feed | ( | uint32_t | password | ) |
Feed watchdog (reset timeout counter).
| [in] | password | Password for WDT reset. |
| void neorv32_wdt_force_hwreset | ( | void | ) |
Force a hardware reset triggered by the watchdog.
| int neorv32_wdt_get_cause | ( | void | ) |
Get cause of last system reset.
| void neorv32_wdt_setup | ( | uint32_t | timeout, |
| int | lock ) |
Configure and enable watchdog timer.
| [in] | timeout | LSB-aligned 24-bit timeout value (number of clock cycles). |
| [in] | lock | Control register will be locked when 1 (until next HW reset). |