Enumerations, structures and type definitions
|
CABLE_NUL = 0, |
Return value : |
PORT_0 = 0, |
Return value : |
PID_UNKNOWN = 0, |
Return value : |
STATUS_NONE = 0, |
Return value : |
PROBE_NONE = 0, |
Return value : |
int count; |
count : |
number of bytes transferred
|
start : |
the time when transfer started
|
current : |
free of use
|
stop : |
the time when transfer finished
|
Return value : |
const int model; |
model : |
link cable model (CableModel).
|
name : |
name of cable like "SER"
|
fullname : |
complete name of cable like "BlackLink"
|
description : |
description of cable like "serial cable"
|
need_open : |
set if cable need to be 'open'/'close' before calling 'probe'
|
prepare : |
detect and map I/O
|
probe : |
check for cable presence
|
timeout : |
used to update timeout
|
open : |
open I/O port or device
|
close : |
close I/O port or device
|
reset : |
reset I/O port or device
|
send : |
send data onto the cable
|
recv : |
recv data from cable
|
check : |
check for data arrival
|
set_d0 : |
set D0/red wire
|
set_d1 : |
set D1/white wire
|
get_d0 get D0/red wire
: |
(null) |
get_d1 set D1/red wire
: |
(null) |
Return value : |
CableModel model; |
model : |
cable model
|
port : |
generic port
|
timeout : |
timeout value in 0.1 seconds
|
delay : |
inter-bit delay for serial/parallel cable in µs
|
device : |
device name like COMx or ttySx (if used)
|
address : |
I/O base address of device (if used)
|
cable : |
a Cable structure used by this handle
|
rate : |
data rate during transfers
|
priv : |
opaque data for internal/private use (static)
|
priv2 : |
idem (allocated)
|
priv3 : |
idem (static)
|
open : |
set if cable has been open
|
busy : |
set if cable is busy
|
Return value : |
CableModel model; |
cable_model : |
model
|
cable_port : |
port
|
cable_timeout : |
timeout in tenth of seconds
|
cable_delay : |
inter-bit delay in µs
|
calc_model : |
calculator model
|
Return value : |