def METHOD_NAME(symbol, event):
    # callback for setting clock polarity symbols needed, based on user selection
    symObj=event["symbol"]
    if(symObj.getSelectedKey() == "LOW"):
        qspiSym_CSR_CPOL_IL_Mask.setValue("0x0")
        qspiSym_CSR_CPOL_IH_Mask.setValue("0x1")
    else:
        qspiSym_CSR_CPOL_IL_Mask.setValue("0x1")
        qspiSym_CSR_CPOL_IH_Mask.setValue("0x0")