RTEMS 6.1-rc2
|
#include "chip.h"
#include <stdint.h>
Functions | |
void | WDT_Enable (Wdt *pWDT, uint32_t dwMode) |
Enable watchdog with given mode. | |
void | WDT_Disable (Wdt *pWDT) |
Disable watchdog. | |
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. | |
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. |