/* * ======== CSL_init ========= * Initialize all configured CSL peripherals */ void CSL_init(void) { /* Stop watchdog timer from timing out during initial start-up. */ WDTCTL = WDTPW + WDTHOLD; /* initialize Config for the MSP430 GPIO */ GPIO_init(); /* initialize Config for the MSP430 2xx family clock systems (BCS) */ BCSplus_init(); /* initialize Config for the MSP430 10-bit Analog to Digital Converter (ADC) */ ADC10_init(); /* initialize Config for the MSP430 USCI_A0 */ USCI_A0_init(); /* initialize Config for the MSP430 A3 Timer0 */ Timer0_A3_init(); /* initialize Config for the MSP430 System Registers */ System_init(); /* initialize Config for the MSP430 A3 Timer0 */ Timer1_A3_init(); /* initialize Config for the MSP430 WDT+ */ WDTplus_init(); }
/* * ======== CSL_init ========= * Initialize all configured CSL peripherals */ void CSL_init(void) { /* initialize Config for the MSP430 WDT+ */ WDTplus_init(); /* initialize Config for the MSP430 GPIO */ GPIO_init(); /* initialize Config for the MSP430 2xx family clock systems (BCS) */ BCSplus_init(); /* initialize Config for the MSP430 USI */ USI_init(); /* initialize Config for the MSP430 A3 Timer0 */ Timer0_A3_init(); /* initialize Config for the MSP430 System Registers */ System_init(); }
/* * ======== CSL_init ========= * Initialize all configured CSL peripherals */ void CSL_init(void) { /* Stop watchdog timer from timing out during initial start-up. */ WDTCTL = WDTPW + WDTHOLD; /* initialize Config for the MSP430 GPIO */ GPIO_init(); /* initialize Config for the MSP430 2xx family clock systems (BCS) */ BCSplus_init(); /* initialize Config for the MSP430 USCI_B0 */ USCI_B0_init(); /* initialize Config for the MSP430 A3 Timer */ Timer_A3_init(); /* initialize Config for the MSP430 System Registers */ System_init(); /* initialize Config for the MSP430 WDT+ */ WDTplus_init(); }