Avoid using a costly MOD operation
Make hwtimer_spin() work even with interrupts disabled
by using only 16 significative bits on MSP430 hardware timers