RTEMS
5.0.0
|
#include "chip.h"
#include <stdint.h>
Functions | |
void | WDT_Enable (Wdt *pWDT, uint32_t dwMode) |
Enable watchdog with given mode. More... | |
void | WDT_Disable (Wdt *pWDT) |
Disable watchdog. More... | |
void | WDT_Restart (Wdt *pWDT) |
Watchdog restart. | |
uint32_t | WDT_GetStatus (Wdt *pWDT) |
Watchdog get status. | |
uint32_t | WDT_GetPeriod (uint32_t dwMs) |
Watchdog get period. More... | |
Implementation of Watchdog Timer (WDT) controller.
void WDT_Disable | ( | Wdt * | pWDT | ) |
Disable watchdog.
void WDT_Enable | ( | Wdt * | pWDT, |
uint32_t | dwMode | ||
) |
Enable watchdog with given mode.
dwMode | WDT mode to be set |
uint32_t WDT_GetPeriod | ( | uint32_t | dwMs | ) |
Watchdog get period.
dwMs | desired watchdog period in millisecond. |