Write DIV corrected. Interaction with timer verified in hardware.

Write DIV corrected. Interaction with timer verified in hardware.