MSP430 c/cpp code