org.lsst.ccs.drivers.ftdi
Interface FtdiInterface
- All Known Implementing Classes:
- Ftdi, FtdiClient, FtdiLocal
public interface FtdiInterface
Interface for the FTDI access routines
- Author:
- Owen Saxton
|
Method Summary |
void |
close()
|
int |
getModemStatus()
|
int |
getQueueStatus()
|
void |
open(int index,
String serial)
|
void |
open(String node,
int index,
String serial)
|
int |
read(byte[] data)
|
int |
read(byte[] data,
int offset,
int count)
|
void |
setBaudrate(int baudrate)
|
void |
setDataCharacteristics(int wordLength,
int stopBits,
int parity)
|
void |
setTimeouts(int rcveTimeout,
int xmitTimeout)
|
int |
write(byte[] data)
|
int |
write(byte[] data,
int offset,
int count)
|
open
void open(int index,
String serial)
throws FtdiException
- Throws:
FtdiException
open
void open(String node,
int index,
String serial)
throws FtdiException
- Throws:
FtdiException
close
void close()
throws FtdiException
- Throws:
FtdiException
setBaudrate
void setBaudrate(int baudrate)
throws FtdiException
- Throws:
FtdiException
setDataCharacteristics
void setDataCharacteristics(int wordLength,
int stopBits,
int parity)
throws FtdiException
- Throws:
FtdiException
setTimeouts
void setTimeouts(int rcveTimeout,
int xmitTimeout)
throws FtdiException
- Throws:
FtdiException
read
int read(byte[] data)
throws FtdiException
- Throws:
FtdiException
read
int read(byte[] data,
int offset,
int count)
throws FtdiException
- Throws:
FtdiException
write
int write(byte[] data)
throws FtdiException
- Throws:
FtdiException
write
int write(byte[] data,
int offset,
int count)
throws FtdiException
- Throws:
FtdiException
getQueueStatus
int getQueueStatus()
throws FtdiException
- Throws:
FtdiException
getModemStatus
int getModemStatus()
throws FtdiException
- Throws:
FtdiException
Copyright © 2013 LSST. All Rights Reserved.