A Versatile Mixed-Signal Controller For Optoelectronic Frequency Synthesis