27 #define WDT_A_HARD_RESET SYSCTL_HARD_RESET
28 #define WDT_A_SOFT_RESET SYSCTL_SOFT_RESET
36 #define WDT_A_CLOCKSOURCE_SMCLK (WDTSSEL_0)
37 #define WDT_A_CLOCKSOURCE_ACLK (WDTSSEL_1)
38 #define WDT_A_CLOCKSOURCE_VLOCLK (WDTSSEL_2)
39 #define WDT_A_CLOCKSOURCE_XCLK (WDTSSEL_3)
47 #define WDT_A_CLOCKDIVIDER_2G (WDTIS_0)
48 #define WDT_A_CLOCKDIVIDER_128M (WDTIS_1)
49 #define WDT_A_CLOCKDIVIDER_8192K (WDTIS_2)
50 #define WDT_A_CLOCKDIVIDER_512K (WDTIS_3)
51 #define WDT_A_CLOCKDIVIDER_32K (WDTIS_4)
52 #define WDT_A_CLOCKDIVIDER_8192 (WDTIS_5)
53 #define WDT_A_CLOCKDIVIDER_512 (WDTIS_6)
54 #define WDT_A_CLOCKDIVIDER_64 (WDTIS_7)
55 #define WDT_A_CLOCKITERATIONS_2G WDT_A_CLOCKDIVIDER_2G
56 #define WDT_A_CLOCKITERATIONS_128M WDT_A_CLOCKDIVIDER_128M
57 #define WDT_A_CLOCKITERATIONS_8192K WDT_A_CLOCKDIVIDER_8192K
58 #define WDT_A_CLOCKITERATIONS_512K WDT_A_CLOCKDIVIDER_512K
59 #define WDT_A_CLOCKITERATIONS_32K WDT_A_CLOCKDIVIDER_32K
60 #define WDT_A_CLOCKITERATIONS_8192 WDT_A_CLOCKDIVIDER_8192
61 #define WDT_A_CLOCKITERATIONS_512 WDT_A_CLOCKDIVIDER_512
62 #define WDT_A_CLOCKITERATIONS_64 WDT_A_CLOCKDIVIDER_64
135 uint_fast8_t clockDivider);
166 uint_fast8_t clockDivider);
230 #define WDT_A_holdTimerMultipleTimer(a) WDT_A_holdTimer()
231 #define WDT_A_startTimerMultipleTimer(a) WDT_A_startTimer()
232 #define WDT_A_resetTimerMultipleTimer(a) WDT_A_resetTimer()
233 #define WDT_A_initWatchdogTimerMultipleTimer(a,b,c) WDT_A_initWatchdogTimer(b,c)
234 #define WDT_A_initIntervalTimerMultipleTimer(a,b,c) WDT_A_initIntervalTimer(b,c)
235 #define WDT_A_registerInterruptMultipleTimer(a,b) WDT_A_registerInterrupt(b)
236 #define WDT_A_unregisterInterruptMultipleTimer(a) WDT_A_unregisterInterrupt()
239 #define WDT_A_hold WDT_A_holdTimerMultipleTimer
240 #define WDT_A_start WDT_A_startTimerMultipleTimer
241 #define WDT_A_resetTimer WDT_A_resetTimerMultipleTimer
242 #define WDT_A_watchdogTimerInit WDT_A_initWatchdogTimerMultipleTimer
243 #define WDT_A_intervalTimerInit WDT_A_initIntervalTimerMultipleTimer
261 #endif // __WATCHDOG_H__
void WDT_A_initWatchdogTimer(uint_fast8_t clockSelect, uint_fast8_t clockDivider)
Definition: wdt_a.c:34
void WDT_A_setPasswordViolationReset(uint_fast8_t resetType)
Definition: wdt_a.c:49
void WDT_A_startTimer(void)
Definition: wdt_a.c:18
void WDT_A_initIntervalTimer(uint_fast8_t clockSelect, uint_fast8_t clockDivider)
Definition: wdt_a.c:41
void WDT_A_setTimeoutReset(uint_fast8_t resetType)
Definition: wdt_a.c:54
void WDT_A_unregisterInterrupt(void)
Definition: wdt_a.c:72
void WDT_A_registerInterrupt(void(*intHandler)(void))
Definition: wdt_a.c:59
void WDT_A_holdTimer(void)
Definition: wdt_a.c:10
void WDT_A_clearTimer(void)
Definition: wdt_a.c:26