7 #ifndef __MSP430WARE_WDT_A_H__
8 #define __MSP430WARE_WDT_A_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)
69 extern void WDT_A_hold(uint16_t baseAddress);
83 extern void WDT_A_start(uint16_t baseAddress);
96 extern void WDT_A_resetTimer(uint16_t baseAddress);
130 extern void WDT_A_initWatchdogTimer(uint16_t baseAddress,
132 uint8_t clockDivider);
165 extern void WDT_A_initIntervalTimer(uint16_t baseAddress,
167 uint8_t clockDivider);