Implemented WriteBattClock() and added check to ReadBattClock() to wait until