Fixed nasty clock bug that made the clock non-monotonic
Added TIMER_MAX_VALUE macro to HAL
Fixed etimer bugs
Converted SPIM module to event timer instead of polling timer