#include <evgInput.h>
|
typedef m_obj_children_t::const_iterator | child_iterator |
|
typedef std::map< std::string, std::string > | create_args_t |
|
typedef Object *(* | create_factory_t) (const std::string &name, const std::string &klass, const create_args_t &args) |
|
static int | initObject () |
|
static Object * | getObject (const std::string &name) |
|
static Object * | getCreateObject (const std::string &name, const std::string &klass, const create_args_t &args=create_args_t()) |
|
static void | addFactory (const std::string &klass, create_factory_t fn) |
|
static void | visitObjects (bool(*)(Object *, void *), void *) |
|
| ObjectInst (const std::string &n) |
|
| ObjectInst (const std::string &n, A &a) |
|
virtual | ~ObjectInst () |
|
| Object (const std::string &n, const Object *par=0) |
|
virtual | ~Object ()=0 |
|
Definition at line 18 of file evgInput.h.
◆ evgInput()
evgInput::evgInput |
( |
const std::string & |
name, |
|
|
const epicsUInt32 |
num, |
|
|
const InputType |
type, |
|
|
volatile epicsUInt8 * const |
pInReg |
|
) |
| |
Definition at line 13 of file evgInput.cpp.
const std::string & name() const
◆ ~evgInput()
◆ getDbusMap()
bool evgInput::getDbusMap |
( |
epicsUInt16 |
dbus | ) |
const |
Definition at line 68 of file evgInput.cpp.
70 throw std::runtime_error(
"EVG DBUS num out of range. Max: 7");
72 epicsUInt32 mask = 0x10000 << dbus;
74 return (map & mask) != 0;
INLINE epicsUInt32 nat_ioread32(volatile void *addr)
◆ getExtIrq()
bool evgInput::getExtIrq |
( |
| ) |
const |
Definition at line 45 of file evgInput.cpp.
INLINE epicsUInt32 nat_ioread32(volatile void *addr)
#define EVG_EXT_INP_IRQ_ENA
◆ getNum()
epicsUInt32 evgInput::getNum |
( |
| ) |
const |
◆ getSeqTrigMap()
epicsUInt32 evgInput::getSeqTrigMap |
( |
| ) |
const |
Definition at line 92 of file evgInput.cpp.
94 map = map & 0x0000ff00;
INLINE epicsUInt32 nat_ioread32(volatile void *addr)
◆ getTrigEvtMap()
bool evgInput::getTrigEvtMap |
( |
epicsUInt16 |
trigEvt | ) |
const |
Definition at line 117 of file evgInput.cpp.
119 throw std::runtime_error(
"EVG Trig Event num out of range. Max: 7");
121 epicsUInt32 mask = 0x1 << trigEvt;
123 return (map & mask) != 0;
INLINE epicsUInt32 nat_ioread32(volatile void *addr)
◆ getType()
◆ lock()
virtual void evgInput::lock |
( |
| ) |
const |
|
inlinevirtual |
◆ setDbusMap()
void evgInput::setDbusMap |
( |
epicsUInt16 |
dbus, |
|
|
bool |
ena |
|
) |
| |
Definition at line 50 of file evgInput.cpp.
52 throw std::runtime_error(
"EVG DBUS num out of range. Max: 7");
54 epicsUInt32 mask = 0x10000 << dbus;
INLINE void nat_iowrite32(volatile void *addr, epicsUInt32 val)
INLINE epicsUInt32 nat_ioread32(volatile void *addr)
◆ setExtIrq()
void evgInput::setExtIrq |
( |
bool |
ena | ) |
|
Definition at line 35 of file evgInput.cpp.
INLINE void nat_iowrite32(volatile void *addr, epicsUInt32 val)
INLINE epicsUInt32 nat_ioread32(volatile void *addr)
#define EVG_EXT_INP_IRQ_ENA
◆ setSeqTrigMap()
void evgInput::setSeqTrigMap |
( |
epicsUInt32 |
seqTrigMap | ) |
|
Definition at line 78 of file evgInput.cpp.
80 throw std::runtime_error(
"Seq Trig Map out of range. Max: 3");
85 map = map & 0xffff00ff;
86 map = map | (seqTrigMap << 8);
INLINE void nat_iowrite32(volatile void *addr, epicsUInt32 val)
INLINE epicsUInt32 nat_ioread32(volatile void *addr)
◆ setTrigEvtMap()
void evgInput::setTrigEvtMap |
( |
epicsUInt16 |
trigEvt, |
|
|
bool |
ena |
|
) |
| |
Definition at line 100 of file evgInput.cpp.
102 throw std::runtime_error(
"Trig Event num out of range. Max: 7");
104 epicsUInt32 mask = 1 << trigEvt;
INLINE void nat_iowrite32(volatile void *addr, epicsUInt32 val)
INLINE epicsUInt32 nat_ioread32(volatile void *addr)
◆ unlock()
virtual void evgInput::unlock |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following files: