In the file wdt_a.h of the newer MSPs, there are the following defines: /* Aliases by mspgcc */ #define WDTIS_0 (0<<0) /* Watchdog timer /64 */ #define WDTIS_1 (1<<0) /* Watchdog timer /512 */ #define WDTIS_2 (2<<0) /* Watchdog timer /8192 */ #define WDTIS_3 (3<<0) /* Watchdog timer /32K */ #define WDTIS_4 (4<<0) /* Watchdog timer /512K */ #define WDTIS_5 (5<<0) /* Watchdog timer /8192K */ #define WDTIS_6 (6<<0) /* Watchdog timer /128M */ #define WDTIS_7 (7<<0) /* Watchdog timer /2G */
but i think the comments are wrong and therefore misleading. Based on the x5xx family guide they should be REVERSED in order, i.e. WDTIS_0 is the slowest one and WDTIS_7 the fastest: /* Aliases by mspgcc */ #define WDTIS_0 (0<<0) /* Watchdog timer /2G */ #define WDTIS_1 (1<<0) /* Watchdog timer /128M */ #define WDTIS_2 (2<<0) /* Watchdog timer /8192k */ #define WDTIS_3 (3<<0) /* Watchdog timer /512K */ #define WDTIS_4 (4<<0) /* Watchdog timer /32K */ #define WDTIS_5 (5<<0) /* Watchdog timer /8192 */ #define WDTIS_6 (6<<0) /* Watchdog timer /512 */ #define WDTIS_7 (7<<0) /* Watchdog timer /64 */ Right? R#
