Package cbsw.adept
Class JniAdeptDepp.Djtg
- java.lang.Object
-
- cbsw.adept.JniAdeptDepp.Djtg
-
- Enclosing class:
- JniAdeptDepp
public static class JniAdeptDepp.Djtg extends java.lang.ObjectNative interface wrappers to Digilent Adept DJTG API.
-
-
Constructor Summary
Constructors Constructor Description Djtg()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 java.lang.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)
-
-
-
Method Detail
-
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
public static java.lang.String getProperties(int hif, int port)
-
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)
-
-