public static class D2xxManager.DriverParameters
extends java.lang.Object
Constructor and Description |
---|
D2xxManager.DriverParameters()
DriverParameters constructor
Buffer Size : 16k
Max Transfer Size : 16k
Number Buffer : 16
Read Timeout : 5000 ms
|
Modifier and Type | Method and Description |
---|---|
int |
getBufferNumber()
This method will return Buffer number for Rx in user space application.
|
int |
getMaxBufferSize()
This method will return Rx buffer size of user space application.
|
int |
getMaxTransferSize()
This method will return Max Transfer size for Rx in the
user space application.
|
int |
getReadTimeout()
This method will return timeout values to be used for read operations.
|
boolean |
setBufferNumber(int number)
This method will set the Buffer number for Rx in the user space
application.
|
boolean |
setMaxBufferSize(int size)
This method will set the Max Buffer size to process Rx data in the user space
application.
|
boolean |
setMaxTransferSize(int size)
This method will set the Max Transfer size to process Rx data in the user space
application.
|
boolean |
setReadTimeout(int timeout)
This method specifies the timeout values to be used for read operations.
|
public D2xxManager.DriverParameters()
public boolean setMaxBufferSize(int size)
size
- Specifies the value to MaxBufferSizepublic int getMaxBufferSize()
public boolean setMaxTransferSize(int size)
size
- Specifies the value of Rx Max Transfer Sizepublic int getMaxTransferSize()
public boolean setBufferNumber(int number)
number
- Specifies the value to Buffer Numberpublic int getBufferNumber()
public boolean setReadTimeout(int timeout)
readTimeout
- The value in ms to apply to read operations.
Default is 5000 mSpublic int getReadTimeout()