Initialize control registers.