|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lsst.ccs.drivers.iocard.Iocard
public class Iocard
\file Iocard.java Java interface to the I/O card routines \author Owen Saxton
| Field Summary | |
|---|---|
static int |
OPT_CHECK
Various constants |
static int |
OPT_READV
Various constants |
static int |
OPT_WRITER
Various constants |
| Constructor Summary | |
|---|---|
Iocard()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OPT_CHECK
public static final int OPT_WRITER
public static final int OPT_READV
| Constructor Detail |
|---|
public Iocard()
| Method Detail |
|---|
public void init(int baseAddr,
int size,
int irq)
throws IocardException
IocardException
public void term()
throws IocardException
IocardException
public int readB(int offs)
throws IocardException
IocardException
public int readW(int offs)
throws IocardException
IocardException
public int readL(int offs)
throws IocardException
IocardException
public void writeB(int offs,
int value)
throws IocardException
IocardException
public void writeW(int offs,
int value)
throws IocardException
IocardException
public void writeL(int offs,
int value)
throws IocardException
IocardException
public void updateB(int offs,
int mask,
int value)
throws IocardException
IocardException
public void updateW(int offs,
int mask,
int value)
throws IocardException
IocardException
public void updateL(int offs,
int mask,
int value)
throws IocardException
IocardException
public void attachInt(int id,
int optns,
int cOffset,
int cMask,
int rOffset,
int rValue,
int vOffset,
Object cbObj,
String cbMeth,
Object cbParm)
throws IocardException
IocardException
public void detachInt(int id)
throws IocardException
IocardException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||