Make hwtimer_spin() work even with interrupts disabled
by using only 16 significative bits on MSP430 hardware timers
Reduce variable scope in init function