MSP430 reaction timer implmention