FYI...I do not see the WDT_A_CTL_SSEL_4 defined anywhere. I get errors when compiling using IAR Embedded Workbench. //***************************************************************************** // // The following are values that can be passed to the clockSelect parameter for // functions: WDT_A_watchdogTimerInit(), and WDT_A_intervalTimerInit(). // //***************************************************************************** #define WDT_A_CLOCKSOURCE_SMCLK (WDT_A_CTL_SSEL_0) #define WDT_A_CLOCKSOURCE_ACLK (WDT_A_CTL_SSEL_1) #define WDT_A_CLOCKSOURCE_VLOCLK (WDT_A_CTL_SSEL_2) #define WDT_A_CLOCKSOURCE_XCLK (WDT_A_CTL_SSEL_3) #define WDT_A_CLOCKSOURCE_BCLK (WDT_A_CTL_SSEL_4)
↧