Implemented mock for TimerSPI.