Package cbsw
Interface Io
-
- All Known Implementing Classes:
Asic,Claro,Dac6571,Dac6571,DaqMux,DaqMux,DtmControl,FastIc8,FastIc8I2C,FastRICH,GbtGrandParent,GbtxDepp,GbtxIcDepp,GbtxParent,GbtxSca,I2C,I2C,K7ChimaeraControl,LpGbtDepp,LpGbtIcEc,LpGbtParent,MuDaq,PicoTDC,PicoTDC,VtrxPlus
public interface IoByte-oriented hardware I/O interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidget(int offset, byte[] buf)Reads array of bytes from hardwarevoidput(int offset, byte[] buf)Writes array of bytes to hardware.
-
-
-
Method Detail
-
put
void put(int offset, byte[] buf)Writes array of bytes to hardware.
- Parameters:
offset- Hardware byte offset where to start writing.buf- data to write.
-
get
void get(int offset, byte[] buf)Reads array of bytes from hardware
- Parameters:
offset- Register start address offsetbuf- array to receive data
-
-