msp430 timer adapted to new implementation.