ACQ400_XRM (xrmIoc)
Loading...
Searching...
No Matches
PermitDSP Class Reference

Public Member Functions

void enable (bool en)
void reset ()
unsigned active_mask ()
unsigned status (int addr)
unsigned live (int addr)
bool isActiveSite (int site)
void setElement (int site, int ch_off, unsigned element)
unsigned get_permit_latch (int site) const
unsigned get_permit_live (int site) const
unsigned clear_permit_latch (int site, unsigned mask) const
bool defineSite (int site, bool is_ai, int nelem)
void commit ()
void full_load (epicsInt16 *ai_th_pairs, epicsInt32 *di_pairs)
void _refresh_shadow_element (unsigned offset, unsigned lenw)
void refresh_shadow ()

Static Public Member Functions

static PermitDSPinstance ()

Public Attributes

epicsMutex L_CACHE_lock

Member Function Documentation

◆ active_mask()

unsigned PermitDSP::active_mask ( )

< set bits show active site 0..5 -> 1..6

◆ commit()

void PermitDSP::commit ( )

commit all values to TH RAM

◆ defineSite()

bool PermitDSP::defineSite ( int site,
bool is_ai,
int nelem )

as each site is enumerated, declare it

@todo redundant .. struct not needed?

◆ full_load()

void PermitDSP::full_load ( epicsInt16 * ai_th_pairs,
epicsInt32 * di_pairs )

agg NDI32 VALUE, ACTIVE pairs

Parameters
ai_th_pairsagg NCHAN LOW, HI pairs
di_pairsagg NDI32 VALUE, ACTIVE pairs

◆ live()

unsigned PermitDSP::live ( int addr)

< live status site 1..6 0:ALL?

◆ setElement()

void PermitDSP::setElement ( int site,
int ch_off,
unsigned element )
inline

< set element u32 return true on Success

◆ status()

unsigned PermitDSP::status ( int addr)

< latched status site 1..6 0:ALL?


The documentation for this class was generated from the following files: