Class JniAdeptDepp.Djtg

java.lang.Object
cbsw.adept.JniAdeptDepp.Djtg
Enclosing class:
JniAdeptDepp

public static class JniAdeptDepp.Djtg extends Object

Native interface wrappers to Digilent Adept DJTG API.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    clock(int hif, boolean tms, boolean tdi, int clks)
     
    static boolean
    disable(int hif)
    Disables the DJTG channel on the opened device.
    static boolean
    enable(int hif)
    Enables the DJTG channel on the opened device.
    static String
    getProperties(int hif, int port)
     
    static boolean
    putTdi(int hif, int bits, byte[] snd, boolean tms)
     
    static boolean
    putTdi(int hif, int bits, byte[] snd, byte[] rcv, boolean tms)
     
    static boolean
    putTms(int hif, int bits, byte[] snd, boolean tdi)
     
    static boolean
    putTms(int hif, int bits, byte[] snd, byte[] rcv, boolean tdi)
     
    static boolean
    putTmsTdi(int hif, int bits, byte[] snd)
     
    static boolean
    putTmsTdi(int hif, int bits, byte[] snd, byte[] rcv)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static 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)