7 #ifndef __MSP430WARE_WDT_A_H__
8 #define __MSP430WARE_WDT_A_H__
10 #include "inc/hw_memmap.h"
12 #ifdef __MSP430_HAS_WDT_A__
31 #define WDT_A_CLOCKSOURCE_SMCLK (WDTSSEL_0)
32 #define WDT_A_CLOCKSOURCE_ACLK (WDTSSEL_1)
33 #define WDT_A_CLOCKSOURCE_VLOCLK (WDTSSEL_2)
34 #define WDT_A_CLOCKSOURCE_XCLK (WDTSSEL_3)
42 #define WDT_A_CLOCKDIVIDER_2G (WDTIS_0)
43 #define WDT_A_CLOCKDIVIDER_128M (WDTIS_1)
44 #define WDT_A_CLOCKDIVIDER_8192K (WDTIS_2)
45 #define WDT_A_CLOCKDIVIDER_512K (WDTIS_3)
46 #define WDT_A_CLOCKDIVIDER_32K (WDTIS_4)
47 #define WDT_A_CLOCKDIVIDER_8192 (WDTIS_5)
48 #define WDT_A_CLOCKDIVIDER_512 (WDTIS_6)
49 #define WDT_A_CLOCKDIVIDER_64 (WDTIS_7)
132 uint8_t clockDivider);
167 uint8_t clockDivider);
179 #endif // __MSP430WARE_WDT_A_H__
void WDT_A_initWatchdogTimer(uint16_t baseAddress, uint8_t clockSelect, uint8_t clockDivider)
Sets the clock source for the Watchdog Timer in watchdog mode.
Definition: wdt_a.c:48
void WDT_A_resetTimer(uint16_t baseAddress)
Resets the timer counter of the Watchdog Timer.
Definition: wdt_a.c:39
void WDT_A_initIntervalTimer(uint16_t baseAddress, uint8_t clockSelect, uint8_t clockDivider)
Sets the clock source for the Watchdog Timer in timer interval mode.
Definition: wdt_a.c:56
void WDT_A_hold(uint16_t baseAddress)
Holds the Watchdog Timer.
Definition: wdt_a.c:21
void WDT_A_start(uint16_t baseAddress)
Starts the Watchdog Timer.
Definition: wdt_a.c:30