RTEMS
5.0.0
|
Watchdog controller for the mbed lpc176x family boards. More...
#include <assert.h>
#include <rtems/status-checks.h>
#include <bsp.h>
#include <bsp/irq.h>
#include <bsp/watchdog.h>
#include <bsp/io.h>
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 (const lpc176x_microseconds tcount) |
Configures the watchdog's timer. More... | |
rtems_status_code | lpc176x_watchdog_config_with_interrupt (const lpc176x_wd_isr_funct interrupt, const lpc176x_microseconds tcount) |
Configures the timer watchdog using interrupt. More... | |
Watchdog controller for the mbed lpc176x family boards.
|
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. |