public class JtagLogicLevel extends java.lang.Object implements LogicSettable
Netscan
, then the pin is one of the 2
parallel output channels and allowed index
values are
0 and 1. If it is a 4-port Netscan4
, then the
pin is one of the three GPIO pins and allowed index
values are
0 , 1, and 2.Constructor and Description |
---|
JtagLogicLevel(ChainControl control,
int index)
Deprecated.
instead use
JtagLogicLevel(JtagTester, int) |
JtagLogicLevel(ChainControl control,
java.lang.String chipPath,
int index)
Deprecated.
|
JtagLogicLevel(JtagTester jtag,
int index)
Creates a
LogicSettable that controls a single parallel
output or GPIO pin on the TAP connector for a JTAG tester port. |
Modifier and Type | Method and Description |
---|---|
boolean |
isLogicStateHigh()
Gets logic state for this parallel output channel
|
static void |
main(java.lang.String[] args) |
void |
setLogicState(boolean logicState)
Sets logic level for this parallel output channel
|
public JtagLogicLevel(ChainControl control, int index)
JtagLogicLevel(JtagTester, int)
LogicSettable
that controls a single parallel
output or GPIO pin on the TAP connector for a JTAG tester port. Allowed
index values are 0..1 for Netscan
and
MockJtag
, and 0..2 for Netscan4
.control
- Control for JTAG tester in questionindex
- Index of output on the TAP, 0..(N-1)public JtagLogicLevel(JtagTester jtag, int index)
LogicSettable
that controls a single parallel
output or GPIO pin on the TAP connector for a JTAG tester port. Allowed
index values are 0..1 for Netscan
and
MockJtag
, and 0..2 for Netscan4
.jtag
- JTAG tester in questionindex
- Index of output on the TAP, 0..(N-1)public JtagLogicLevel(ChainControl control, java.lang.String chipPath, int index)
public boolean isLogicStateHigh()
isLogicStateHigh
in interface LogicSettable
LogicSettable.isLogicStateHigh()
public void setLogicState(boolean logicState)
setLogicState
in interface LogicSettable
logicState
- New value for logic stateLogicSettable.setLogicState(boolean)
public static void main(java.lang.String[] args)