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", 1)
        qspiSym_CSR_CPOL_IH_Mask.setValue("0x1", 1)
    else:
        qspiSym_CSR_CPOL_IL_Mask.setValue("0x1", 1)
        qspiSym_CSR_CPOL_IH_Mask.setValue("0x0", 1)