As far as I could tell this is not a straight hex conversion but is a lookup table of some sort. I didn't see a way to allow the user to enter the desired clock and send that to the device.

You can see the table of hex values and corresponding clocks here: https://github.com/AntMiner/AntGen1/tree/master/cgminer