RTEMS
5.0.0
|
API of the Watchdog driver for the lpc176x bsp in RTEMS. More...
#include <bsp/watchdog-defs.h>
Go to the source code of this file.
Functions | |
bool | lpc176x_been_reset_by_watchdog (void) |
Checks if the watchdog was executed by software or not. Set when the watchdog timer times out, cleared by software. More... | |
void | lpc176x_watchdog_reset (void) |
Resets the watchdog timer. | |
rtems_status_code | lpc176x_watchdog_config (lpc176x_microseconds tcount) |
Configures the watchdog's timer. More... | |
rtems_status_code | lpc176x_watchdog_config_with_interrupt (lpc176x_wd_isr_funct interrupt, lpc176x_microseconds tcount) |
Configures the timer watchdog using interrupt. More... | |
API of the Watchdog driver for the lpc176x bsp in RTEMS.
|
inline |
Checks if the watchdog was executed by software or not. Set when the watchdog timer times out, cleared by software.
rtems_status_code lpc176x_watchdog_config | ( | lpc176x_microseconds | tcount | ) |
Configures the watchdog's timer.
tcount | Timer's out value. |
rtems_status_code lpc176x_watchdog_config_with_interrupt | ( | lpc176x_wd_isr_funct | interrupt, |
lpc176x_microseconds | tcount | ||
) |
Configures the timer watchdog using interrupt.
tcount | Timer's out value. |
interrupt | Interrupt to register. |