Class JniAdeptDepp.Djtg
java.lang.Object
cbsw.adept.JniAdeptDepp.Djtg
- Enclosing class:
JniAdeptDepp
Native interface wrappers to Digilent Adept DJTG API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanclock(int hif, boolean tms, boolean tdi, int clks) static booleandisable(int hif) Disables the DJTG channel on the opened device.static booleanenable(int hif) Enables the DJTG channel on the opened device.static StringgetProperties(int hif, int port) static booleanputTdi(int hif, int bits, byte[] snd, boolean tms) static booleanputTdi(int hif, int bits, byte[] snd, byte[] rcv, boolean tms) static booleanputTms(int hif, int bits, byte[] snd, boolean tdi) static booleanputTms(int hif, int bits, byte[] snd, byte[] rcv, boolean tdi) static booleanputTmsTdi(int hif, int bits, byte[] snd) static booleanputTmsTdi(int hif, int bits, byte[] snd, byte[] rcv)
-
Constructor Details
-
Djtg
public Djtg()
-
-
Method Details
-
enable
public static boolean enable(int hif) Enables the DJTG channel on the opened device.
Native wrapper.
- Parameters:
hif- Internal handle of device.- Returns:
- Return code, true=success, false=fail
-
disable
public static boolean disable(int hif) Disables the DJTG channel on the opened device.
Native wrapper.
- Parameters:
hif- Internal handle of device.- Returns:
- Return code, true=success, false=fail
-
getProperties
-
putTmsTdi
public static boolean putTmsTdi(int hif, int bits, byte[] snd, byte[] rcv) -
putTmsTdi
public static boolean putTmsTdi(int hif, int bits, byte[] snd) -
putTms
public static boolean putTms(int hif, int bits, byte[] snd, byte[] rcv, boolean tdi) -
putTms
public static boolean putTms(int hif, int bits, byte[] snd, boolean tdi) -
putTdi
public static boolean putTdi(int hif, int bits, byte[] snd, byte[] rcv, boolean tms) -
putTdi
public static boolean putTdi(int hif, int bits, byte[] snd, boolean tms) -
clock
public static boolean clock(int hif, boolean tms, boolean tdi, int clks)
-