void evgMxc::setPolarity(bool polarity) { if(polarity) BITSET32(m_pReg, MuxControl(m_id), MuxControl_Pol); else BITCLR32(m_pReg, MuxControl(m_id), MuxControl_Pol); }
void evgMxc::setTrigEvtMap(epicsUInt16 trigEvt, bool ena) { if(trigEvt > 7) throw std::runtime_error("EVG Mxc Trig Event ID too large. Max: 7"); epicsUInt32 mask = 1 << (trigEvt+MuxControl_TrigMap_SHIFT); if(ena) BITSET32(m_pReg, MuxControl(m_id), mask); else BITCLR32(m_pReg, MuxControl(m_id), mask); }
bool evgMxc::getTrigEvtMap(epicsUInt16 trigEvt) const { if(trigEvt > 7) throw std::runtime_error("EVG Mxc Trig Event ID too large. Max: 7"); epicsUInt32 mask = 1 << (trigEvt+MuxControl_TrigMap_SHIFT); return READ32(m_pReg, MuxControl(m_id))&mask; }
bool evgMxc::getPolarity() const { return (READ32(m_pReg, MuxControl(m_id)) & MuxControl_Pol) != 0; }
bool evgMxc::getStatus() const { return (READ32(m_pReg, MuxControl(m_id)) & MuxControl_Sts) != 0; }
REGINFO("uSecDiv", uSecDiv, 16), REGINFO("ClockSource", ClockSource, 8), REGINFO("RfDiv", RfDiv, 8), REGINFO("ClockStatus", ClockStatus, 16), REGINFO("SeqControl(0)", SeqControl(0), 32), REGINFO("SeqControl(1)", SeqControl(1), 32), REGINFO("FracSynthWord", FracSynthWord, 32), REGINFO("TrigEventCtrl(0)", TrigEventCtrl(0), 32), REGINFO("TrigEventCtrl(1)", TrigEventCtrl(1), 32), REGINFO("TrigEventCtrl(2)", TrigEventCtrl(2), 32), REGINFO("TrigEventCtrl(3)", TrigEventCtrl(3), 32), REGINFO("TrigEventCtrl(4)", TrigEventCtrl(4), 32), REGINFO("TrigEventCtrl(5)", TrigEventCtrl(5), 32), REGINFO("TrigEventCtrl(6)", TrigEventCtrl(6), 32), REGINFO("TrigEventCtrl(7)", TrigEventCtrl(7), 32), REGINFO("MuxControl(0)", MuxControl(0), 32), REGINFO("MuxPrescaler(0)", MuxPrescaler(0), 32), REGINFO("MuxControl(1)", MuxControl(1), 32), REGINFO("MuxPrescaler(1)", MuxPrescaler(1), 32), REGINFO("MuxControl(2)", MuxControl(2), 32), REGINFO("MuxPrescaler(2)", MuxPrescaler(2), 32), REGINFO("MuxControl(3)", MuxControl(3), 32), REGINFO("MuxPrescaler(3)", MuxPrescaler(3), 32), REGINFO("MuxControl(4)", MuxControl(4), 32), REGINFO("MuxPrescaler(4)", MuxPrescaler(4), 32), REGINFO("MuxControl(5)", MuxControl(5), 32), REGINFO("MuxPrescaler(5)", MuxPrescaler(5), 32), REGINFO("MuxControl(6)", MuxControl(6), 32), REGINFO("MuxPrescaler(6)", MuxPrescaler(6), 32), REGINFO("MuxControl(7)", MuxControl(7), 32), REGINFO("MuxPrescaler(7)", MuxPrescaler(7), 32),