def configurePLLForLocking(): """ configures the Si5338 PLL """ writeRegister5338(49,clearBit(readRegister5338(49),7))
def restartLOL(): # restart Loss-of-lock detector (LOS) oldRegister = readRegister5338(241) newRegister = clearBit(oldRegister,7) writeRegister5338(241,clearBit(readRegister5338(241),7)) writeRegister5338(241,0x65)
def enableOutputs(): # enable Outputs writeRegister5338(230,clearBit(readRegister5338(230),4))