| Modifier and Type | Field and Description |
|---|---|
static int |
OPT_CHECK
Various constants
|
static int |
OPT_READV
Various constants
|
static int |
OPT_WRITER
Various constants
|
| Constructor and Description |
|---|
Iocard() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachInt(int id,
int optns,
int cOffset,
int cMask,
int rOffset,
int rValue,
int vOffset,
Object cbObj,
String cbMeth,
Object cbParm)
Attach to interrupts
|
void |
detachInt(int id)
Detach from interrupts
|
void |
init(int baseAddr,
int size,
int irq)
Initiate access to a card
|
int |
readB(int offs)
Read a byte from a register
|
int |
readL(int offs)
Read an integer from a register
|
int |
readW(int offs)
Read a short integer from a register
|
void |
term()
Terminate access to a card
|
void |
updateB(int offs,
int mask,
int value)
Update a byte in a register
|
void |
updateL(int offs,
int mask,
int value)
Update an integer in a register
|
void |
updateW(int offs,
int mask,
int value)
Update a short integer in a register
|
void |
writeB(int offs,
int value)
Write a byte to a register
|
void |
writeL(int offs,
int value)
Write an integer to a register
|
void |
writeW(int offs,
int value)
Write a short integer to a register
|
public static final int OPT_CHECK
public static final int OPT_WRITER
public static final int OPT_READV
public void init(int baseAddr,
int size,
int irq)
throws IocardException
IocardExceptionpublic void term()
throws IocardException
IocardExceptionpublic int readB(int offs)
throws IocardException
IocardExceptionpublic int readW(int offs)
throws IocardException
IocardExceptionpublic int readL(int offs)
throws IocardException
IocardExceptionpublic void writeB(int offs,
int value)
throws IocardException
IocardExceptionpublic void writeW(int offs,
int value)
throws IocardException
IocardExceptionpublic void writeL(int offs,
int value)
throws IocardException
IocardExceptionpublic void updateB(int offs,
int mask,
int value)
throws IocardException
IocardExceptionpublic void updateW(int offs,
int mask,
int value)
throws IocardException
IocardExceptionpublic void updateL(int offs,
int mask,
int value)
throws IocardException
IocardExceptionpublic void attachInt(int id,
int optns,
int cOffset,
int cMask,
int rOffset,
int rValue,
int vOffset,
Object cbObj,
String cbMeth,
Object cbParm)
throws IocardException
IocardExceptionpublic void detachInt(int id)
throws IocardException
IocardExceptionCopyright © 2018 LSST. All rights reserved.