timer: Added phase correct mode, possibly works