Package cbsw
Interface Io
-
- All Known Implementing Classes:
Asic
,Claro
,Dac6571
,Dac6571
,DaqMux
,DaqMux
,DtmControl
,FastIc8
,FastIc8I2C
,GbtGrandParent
,GbtxDepp
,GbtxIcDepp
,GbtxParent
,GbtxSca
,I2C
,I2C
,K7ChimaeraControl
,LpGbtDepp
,LpGbtIcDepp
,LpGbtParent
,MuDaq
,PicoTDC
,PicoTDC
public interface Io
Byte-oriented hardware I/O interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
get(int offset, byte[] buf)
Reads array of bytes from hardwarevoid
put(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
-
-