Peripheral circuit application of MSP430