Line 1... |
Line 1... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!--NewPage-->
|
<!--NewPage-->
|
<HTML>
|
<HTML>
|
<HEAD>
|
<HEAD>
|
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
|
<TITLE>
|
<TITLE>
|
Ztex1v1
|
Ztex1v1
|
</TITLE>
|
</TITLE>
|
|
|
<META NAME="date" CONTENT="2012-04-12">
|
<META NAME="date" CONTENT="2013-10-30">
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
|
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
function windowTitle()
|
function windowTitle()
|
Line 481... |
Line 481... |
</td>
|
</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">1.0</td>
|
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
|
Temperature sensor support<p>
|
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
|
<tr>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">VR 0x58</td>
|
|
<td bgcolor="#ffffff" valign="top">Return temperature data:
|
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
|
<tr>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">0</td>
|
|
<td bgcolor="#ffffff" valign="top">Protocol</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">1..n</td>
|
|
<td bgcolor="#ffffff" valign="top">Data</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
</table>
|
</table>
|
<P>
|
<P>
|
|
|
<P>
|
<P>
|
<DL>
|
<DL>
|
Line 558... |
Line 589... |
Capability index for multi FPGA support</TD>
|
Capability index for multi FPGA support</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE>static int</CODE></FONT></TD>
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_TEMP_SENSOR">CAPABILITY_TEMP_SENSOR</A></B></CODE>
|
|
|
|
<BR>
|
|
Capability index for Temperature sensor support</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_XMEGA">CAPABILITY_XMEGA</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_XMEGA">CAPABILITY_XMEGA</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Capability index for AVR XMEGA support.</TD>
|
Capability index for AVR XMEGA support.</TD>
|
</TR>
|
</TR>
|
Line 573... |
Line 612... |
<BR>
|
<BR>
|
The names of the capabilities</TD>
|
The names of the capabilities</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../ztex/ConfigData.html" title="class in ztex">ConfigData</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#config">config</A></B></CODE>
|
|
|
|
<BR>
|
|
The configuration data structure
|
|
is initialized if this kind of data is present in MAC EEPROM.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugNewMessages">debugNewMessages</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugNewMessages">debugNewMessages</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Is set by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A> and contains the number of new messages.</TD>
|
Is set by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A> and contains the number of new messages.</TD>
|
Line 677... |
Line 725... |
<BR>
|
<BR>
|
Last Flash error code obtained by <A HREF="../ztex/Ztex1v1.html#flashState()"><CODE>flashState()</CODE></A>.</TD>
|
Last Flash error code obtained by <A HREF="../ztex/Ztex1v1.html#flashState()"><CODE>flashState()</CODE></A>.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#tempSensorUpdateInterval">tempSensorUpdateInterval</A></B></CODE>
|
|
|
|
<BR>
|
|
smallest temperature sensor update interval in ms</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE>static int</CODE></FONT></TD>
|
<CODE>static int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_ADDRESS_ERROR">XMEGA_EC_ADDRESS_ERROR</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_ADDRESS_ERROR">XMEGA_EC_ADDRESS_ERROR</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals an address error (invalid address or wrong page size).</TD>
|
Signals an address error (invalid address or wrong page size).</TD>
|
Line 824... |
Line 880... |
Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported.</TD>
|
Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> long</CODE></FONT></TD>
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.io.InputStream, boolean, int)">configureFpga</A></B>(java.io.InputStream inputStream,
|
|
boolean force,
|
|
int bs)</CODE>
|
|
|
|
<BR>
|
|
Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean)">configureFpga</A></B>(java.lang.String fwFileName,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean)">configureFpga</A></B>(java.lang.String fwFileName,
|
boolean force)</CODE>
|
boolean force)</CODE>
|
|
|
<BR>
|
<BR>
|
Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.</TD>
|
Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.</TD>
|
Line 843... |
Line 909... |
Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.</TD>
|
Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> long</CODE></FONT></TD>
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.io.InputStream, boolean, int)">configureFpgaHS</A></B>(java.io.InputStream inputStream,
|
|
boolean force,
|
|
int bs)</CODE>
|
|
|
|
<BR>
|
|
Upload a Bitstream to the FPGA using high speed mode.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.lang.String, boolean, int)">configureFpgaHS</A></B>(java.lang.String fwFileName,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.lang.String, boolean, int)">configureFpgaHS</A></B>(java.lang.String fwFileName,
|
boolean force,
|
boolean force,
|
int bs)</CODE>
|
int bs)</CODE>
|
|
|
<BR>
|
<BR>
|
Upload a Bitstream to the FPGA using high speed mode.</TD>
|
Upload a Bitstream to the FPGA using high speed mode.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> long</CODE></FONT></TD>
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.io.InputStream, boolean, int)">configureFpgaLS</A></B>(java.io.InputStream inputStream,
|
|
boolean force,
|
|
int bs)</CODE>
|
|
|
|
<BR>
|
|
Upload a Bitstream to the FPGA using low speed mode.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.lang.String, boolean, int)">configureFpgaLS</A></B>(java.lang.String fwFileName,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.lang.String, boolean, int)">configureFpgaLS</A></B>(java.lang.String fwFileName,
|
boolean force,
|
boolean force,
|
int bs)</CODE>
|
int bs)</CODE>
|
|
|
<BR>
|
<BR>
|
Line 965... |
Line 1051... |
<BR>
|
<BR>
|
Returns the first free sector of the Flash memory.</TD>
|
Returns the first free sector of the Flash memory.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashInfo()">flashInfo</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns information about Flash memory.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashReadSector(int, byte[])">flashReadSector</A></B>(int sector,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashReadSector(int, byte[])">flashReadSector</A></B>(int sector,
|
byte[] buf)</CODE>
|
byte[] buf)</CODE>
|
|
|
<BR>
|
<BR>
|
Line 1041... |
Line 1135... |
Converts a given error code into a String.</TD>
|
Converts a given error code into a String.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> long</CODE></FONT></TD>
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.io.InputStream, int)">flashUploadBitstream</A></B>(java.io.InputStream inputStream,
|
|
int bs)</CODE>
|
|
|
|
<BR>
|
|
Uploads a Bitstream to the Flash.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String)">flashUploadBitstream</A></B>(java.lang.String fwFileName)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String)">flashUploadBitstream</A></B>(java.lang.String fwFileName)</CODE>
|
|
|
<BR>
|
<BR>
|
Uploads a Bitstream to the Flash.</TD>
|
Uploads a Bitstream to the Flash.</TD>
|
</TR>
|
</TR>
|
Line 1100... |
Line 1203... |
<BR>
|
<BR>
|
Returns a string that indicates the FPGA configuration status.</TD>
|
Returns a string that indicates the FPGA configuration status.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#init()">init</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Initializates the class.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#InterfaceCapabilities(int)">InterfaceCapabilities</A></B>(int i)</CODE>
|
|
|
|
<BR>
|
|
Returns interface capability bit.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromRead(int, byte[], int)">macEepromRead</A></B>(int addr,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromRead(int, byte[], int)">macEepromRead</A></B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)</CODE>
|
int length)</CODE>
|
|
|
Line 1160... |
Line 1279... |
<BR>
|
<BR>
|
Prints out some debug information about *SD/MMC Flash cards in SPI mode.</TD>
|
Prints out some debug information about *SD/MMC Flash cards in SPI mode.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printSpiState()">printSpiState</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Prints out some debug information about SPI Flash.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#resetFpga()">resetFpga</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#resetFpga()">resetFpga</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Resets the FPGA.</TD>
|
Resets the FPGA.</TD>
|
Line 1176... |
Line 1303... |
<BR>
|
<BR>
|
Select a FPGA</TD>
|
Select a FPGA</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> double</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#tempSensorRead(int)">tempSensorRead</A></B>(int idx)</CODE>
|
|
|
|
<BR>
|
|
Read temperature sensor data.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#toString()">toString</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#toString()">toString</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns a lot of useful information about the corresponding device.</TD>
|
Returns a lot of useful information about the corresponding device.</TD>
|
Line 1369... |
Line 1504... |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TH ALIGN="left"><B>Methods inherited from class ztex.<A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class ztex.<A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TH>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD><CODE><A HREF="../ztex/Ztex1.html#claimInterface(int)">claimInterface</A>, <A HREF="../ztex/Ztex1.html#dev()">dev</A>, <A HREF="../ztex/Ztex1.html#finalize()">finalize</A>, <A HREF="../ztex/Ztex1.html#getInterfaceClaimed(int)">getInterfaceClaimed</A>, <A HREF="../ztex/Ztex1.html#handle()">handle</A>, <A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A>, <A HREF="../ztex/Ztex1.html#resetEzUsb()">resetEzUsb</A>, <A HREF="../ztex/Ztex1.html#setConfiguration(int)">setConfiguration</A>, <A HREF="../ztex/Ztex1.html#trySetConfiguration(int)">trySetConfiguration</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(ztex.ZtexIhxFile1, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int, byte[], int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand2(int, java.lang.String, int, int, byte[], int)">vendorCommand2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, int, int, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, byte[], int)">vendorRequest2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, int, int, byte[], int)">vendorRequest2</A></CODE></TD>
|
<TD><CODE><A HREF="../ztex/Ztex1.html#claimInterface(int)">claimInterface</A>, <A HREF="../ztex/Ztex1.html#dev()">dev</A>, <A HREF="../ztex/Ztex1.html#finalize()">finalize</A>, <A HREF="../ztex/Ztex1.html#getInterfaceClaimed(int)">getInterfaceClaimed</A>, <A HREF="../ztex/Ztex1.html#handle()">handle</A>, <A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A>, <A HREF="../ztex/Ztex1.html#resetEzUsb()">resetEzUsb</A>, <A HREF="../ztex/Ztex1.html#setConfiguration(int)">setConfiguration</A>, <A HREF="../ztex/Ztex1.html#trySetConfiguration(int)">trySetConfiguration</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.io.InputStream, java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(ztex.ZtexIhxFile1, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int, byte[], int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand2(int, java.lang.String, int, int, byte[], int)">vendorCommand2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, int, int, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, byte[], int)">vendorRequest2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, int, int, byte[], int)">vendorRequest2</A></CODE></TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
Line 1490... |
Line 1625... |
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_MULTI_FPGA">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_MULTI_FPGA">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="CAPABILITY_TEMP_SENSOR"><!-- --></A><H3>
|
|
CAPABILITY_TEMP_SENSOR</H3>
|
|
<PRE>
|
|
public static final int <B>CAPABILITY_TEMP_SENSOR</B></PRE>
|
|
<DL>
|
|
<DD>Capability index for Temperature sensor support
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_TEMP_SENSOR">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="capabilityStrings"><!-- --></A><H3>
|
<A NAME="capabilityStrings"><!-- --></A><H3>
|
capabilityStrings</H3>
|
capabilityStrings</H3>
|
<PRE>
|
<PRE>
|
public static final java.lang.String[] <B>capabilityStrings</B></PRE>
|
public static final java.lang.String[] <B>capabilityStrings</B></PRE>
|
<DL>
|
<DL>
|
Line 1740... |
Line 1887... |
<DD>Signals that the NVM is busy.
|
<DD>Signals that the NVM is busy.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_NVM_BUSY">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_NVM_BUSY">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="tempSensorUpdateInterval"><!-- --></A><H3>
|
|
tempSensorUpdateInterval</H3>
|
|
<PRE>
|
|
public int <B>tempSensorUpdateInterval</B></PRE>
|
|
<DL>
|
|
<DD>smallest temperature sensor update interval in ms
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="config"><!-- --></A><H3>
|
|
config</H3>
|
|
<PRE>
|
|
public <A HREF="../ztex/ConfigData.html" title="class in ztex">ConfigData</A> <B>config</B></PRE>
|
|
<DL>
|
|
<DD>The configuration data structure
|
|
is initialized if this kind of data is present in MAC EEPROM.
|
|
In this case MAC EEPROM writes to addresses 0 to 79 are disabled, see <A HREF="../ztex/Ztex1v1.html#macEepromWrite(int, byte[], int)"><CODE>macEepromWrite(int,byte[],int)</CODE></A>.
|
|
In order to override this behavior set this variable to null.
|
|
If no configuration data is present <A HREF="../ztex/Ztex1v1.html#config"><CODE>config</CODE></A> is null.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
<A NAME="constructor_detail"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
Line 1775... |
Line 1950... |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<B>Method Detail</B></FONT></TH>
|
<B>Method Detail</B></FONT></TH>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
|
<A NAME="init()"><!-- --></A><H3>
|
|
init</H3>
|
|
<PRE>
|
|
protected void <B>init</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
|
<DL>
|
|
<DD>Initializates the class.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#init()">init</A></CODE> in class <CODE><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an communication error occurred.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="valid()"><!-- --></A><H3>
|
<A NAME="valid()"><!-- --></A><H3>
|
valid</H3>
|
valid</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>valid</B>()</PRE>
|
public boolean <B>valid</B>()</PRE>
|
<DL>
|
<DL>
|
Line 1885... |
Line 2079... |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if the given capability is not supported.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if the given capability is not supported.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="InterfaceCapabilities(int)"><!-- --></A><H3>
|
|
InterfaceCapabilities</H3>
|
|
<PRE>
|
|
public boolean <B>InterfaceCapabilities</B>(int i)</PRE>
|
|
<DL>
|
|
<DD>Returns interface capability bit.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>i</CODE> - capability index (0..47)
|
|
<DT><B>Returns:</B><DD>interface capability bit.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="checkCompatible(int, int, int, int)"><!-- --></A><H3>
|
<A NAME="checkCompatible(int, int, int, int)"><!-- --></A><H3>
|
checkCompatible</H3>
|
checkCompatible</H3>
|
<PRE>
|
<PRE>
|
public void <B>checkCompatible</B>(int productId0,
|
public void <B>checkCompatible</B>(int productId0,
|
int productId1,
|
int productId1,
|
Line 1987... |
Line 2195... |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="configureFpgaLS(java.io.InputStream, boolean, int)"><!-- --></A><H3>
|
|
configureFpgaLS</H3>
|
|
<PRE>
|
|
public long <B>configureFpgaLS</B>(java.io.InputStream inputStream,
|
|
boolean force,
|
|
int bs)
|
|
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
|
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
|
|
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Upload a Bitstream to the FPGA using low speed mode.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured.
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="configureFpgaLS(java.lang.String, boolean, int)"><!-- --></A><H3>
|
<A NAME="configureFpgaLS(java.lang.String, boolean, int)"><!-- --></A><H3>
|
configureFpgaLS</H3>
|
configureFpgaLS</H3>
|
<PRE>
|
<PRE>
|
public long <B>configureFpgaLS</B>(java.lang.String fwFileName,
|
public long <B>configureFpgaLS</B>(java.lang.String fwFileName,
|
boolean force,
|
boolean force,
|
Line 2221... |
Line 2457... |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashReadSector(int, byte[])"><!-- --></A><H3>
|
<A NAME="flashReadSector(int, int, byte[])"><!-- --></A><H3>
|
flashReadSector</H3>
|
flashReadSector</H3>
|
<PRE>
|
<PRE>
|
public void <B>flashReadSector</B>(int sector,
|
public void <B>flashReadSector</B>(int sector,
|
|
int num,
|
byte[] buf)
|
byte[] buf)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
java.lang.IndexOutOfBoundsException</PRE>
|
java.lang.IndexOutOfBoundsException</PRE>
|
<DL>
|
<DL>
|
<DD>Reads one sector from the Flash.
|
<DD>Reads a integer number of sectors from the Flash.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The number of the first sector to be read.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashReadSector(int, int, byte[])"><!-- --></A><H3>
|
<A NAME="flashReadSector(int, byte[])"><!-- --></A><H3>
|
flashReadSector</H3>
|
flashReadSector</H3>
|
<PRE>
|
<PRE>
|
public void <B>flashReadSector</B>(int sector,
|
public void <B>flashReadSector</B>(int sector,
|
int num,
|
|
byte[] buf)
|
byte[] buf)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
java.lang.IndexOutOfBoundsException</PRE>
|
java.lang.IndexOutOfBoundsException</PRE>
|
<DL>
|
<DL>
|
<DD>Reads a integer number of sectors from the Flash.
|
<DD>Reads one sector from the Flash.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The number of the first sector to be read.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashWriteSector(int, byte[])"><!-- --></A><H3>
|
<A NAME="flashWriteSector(int, int, byte[])"><!-- --></A><H3>
|
flashWriteSector</H3>
|
flashWriteSector</H3>
|
<PRE>
|
<PRE>
|
public void <B>flashWriteSector</B>(int sector,
|
public void <B>flashWriteSector</B>(int sector,
|
|
int num,
|
byte[] buf)
|
byte[] buf)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
java.lang.IndexOutOfBoundsException</PRE>
|
java.lang.IndexOutOfBoundsException</PRE>
|
<DL>
|
<DL>
|
<DD>Writes one sector to the Flash.
|
<DD>Writes a integer number of sectors to the Flash.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>buf</CODE> - The data.
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - The data.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashWriteSector(int, int, byte[])"><!-- --></A><H3>
|
<A NAME="flashWriteSector(int, byte[])"><!-- --></A><H3>
|
flashWriteSector</H3>
|
flashWriteSector</H3>
|
<PRE>
|
<PRE>
|
public void <B>flashWriteSector</B>(int sector,
|
public void <B>flashWriteSector</B>(int sector,
|
int num,
|
|
byte[] buf)
|
byte[] buf)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
java.lang.IndexOutOfBoundsException</PRE>
|
java.lang.IndexOutOfBoundsException</PRE>
|
<DL>
|
<DL>
|
<DD>Writes a integer number of sectors to the Flash.
|
<DD>Writes one sector to the Flash.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - The data.
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>buf</CODE> - The data.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashEnabled()"><!-- --></A><H3>
|
<A NAME="flashEnabled()"><!-- --></A><H3>
|
Line 2423... |
Line 2659... |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashUploadBitstream(java.lang.String, int)"><!-- --></A><H3>
|
<A NAME="flashUploadBitstream(java.io.InputStream, int)"><!-- --></A><H3>
|
flashUploadBitstream</H3>
|
flashUploadBitstream</H3>
|
<PRE>
|
<PRE>
|
public long <B>flashUploadBitstream</B>(java.lang.String fwFileName,
|
public long <B>flashUploadBitstream</B>(java.io.InputStream inputStream,
|
int bs)
|
int bs)
|
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
|
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Uploads a Bitstream to the Flash.
|
<DD>Uploads a Bitstream to the Flash.
|
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
|
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
|
it is possible to construct fully autonomous devices.
|
it is possible to construct fully autonomous devices.
|
<p>
|
<p>
|
Information about the bitstream is stored in sector 0.
|
If configuration data is present information about bitstream are stored there and Bitstream starts
|
|
at sector 0.
|
|
<p>
|
|
On all other devices the information about the bitstream is stored in sector 0.
|
This so called boot sector has the following format:
|
This so called boot sector has the following format:
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
Line 2468... |
Line 2707... |
where bs[i] denotes byte i of the boot sector.
|
where bs[i] denotes byte i of the boot sector.
|
<p>
|
<p>
|
The first sector of the Bitstream is sector 1.
|
The first sector of the Bitstream is sector 1.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
|
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="flashUploadBitstream(java.lang.String, int)"><!-- --></A><H3>
|
|
flashUploadBitstream</H3>
|
|
<PRE>
|
|
public long <B>flashUploadBitstream</B>(java.lang.String fwFileName,
|
|
int bs)
|
|
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
|
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Uploads a Bitstream to the Flash.
|
|
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
|
|
it is possible to construct fully autonomous devices.
|
|
See <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.io.InputStream, int)"><CODE>flashUploadBitstream(InputStream,int)</CODE></A> for further details.
|
|
<P>
|
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
|
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
Line 2490... |
Line 2755... |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Uploads a Bitstream to the Flash.
|
<DD>Uploads a Bitstream to the Flash.
|
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
|
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
|
it is possible to construct fully autonomous devices.
|
it is possible to construct fully autonomous devices.
|
See <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String, int)"><CODE>flashUploadBitstream(String,int)</CODE></A> for further details.
|
See <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.io.InputStream, int)"><CODE>flashUploadBitstream(InputStream,int)</CODE></A> for further details.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive).
|
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive).
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
Line 2547... |
Line 2812... |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="flashInfo()"><!-- --></A><H3>
|
|
flashInfo</H3>
|
|
<PRE>
|
|
public java.lang.String <B>flashInfo</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns information about Flash memory.
|
|
The result contains the size and how much of the Flash is us used / reserved for / by the Bitstream.
|
|
If no Flash memeory is suppported an empty string is returned.
|
|
Returns Information about Flash memory.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="debugStackSize()"><!-- --></A><H3>
|
<A NAME="debugStackSize()"><!-- --></A><H3>
|
debugStackSize</H3>
|
debugStackSize</H3>
|
<PRE>
|
<PRE>
|
public int <B>debugStackSize</B>()
|
public int <B>debugStackSize</B>()
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
Line 3054... |
Line 3335... |
<DT><B>Returns:</B><DD>a string of the supported capabilities.</DL>
|
<DT><B>Returns:</B><DD>a string of the supported capabilities.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="configureFpgaHS(java.io.InputStream, boolean, int)"><!-- --></A><H3>
|
|
configureFpgaHS</H3>
|
|
<PRE>
|
|
public long <B>configureFpgaHS</B>(java.io.InputStream inputStream,
|
|
boolean force,
|
|
int bs)
|
|
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
|
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
|
|
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Upload a Bitstream to the FPGA using high speed mode.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured.
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="configureFpgaHS(java.lang.String, boolean, int)"><!-- --></A><H3>
|
<A NAME="configureFpgaHS(java.lang.String, boolean, int)"><!-- --></A><H3>
|
configureFpgaHS</H3>
|
configureFpgaHS</H3>
|
<PRE>
|
<PRE>
|
public long <B>configureFpgaHS</B>(java.lang.String fwFileName,
|
public long <B>configureFpgaHS</B>(java.lang.String fwFileName,
|
boolean force,
|
boolean force,
|
Line 3082... |
Line 3391... |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="configureFpga(java.io.InputStream, boolean, int)"><!-- --></A><H3>
|
|
configureFpga</H3>
|
|
<PRE>
|
|
public long <B>configureFpga</B>(java.io.InputStream inputStream,
|
|
boolean force,
|
|
int bs)
|
|
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
|
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
|
|
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured.
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="configureFpga(java.lang.String, boolean, int)"><!-- --></A><H3>
|
<A NAME="configureFpga(java.lang.String, boolean, int)"><!-- --></A><H3>
|
configureFpga</H3>
|
configureFpga</H3>
|
<PRE>
|
<PRE>
|
public long <B>configureFpga</B>(java.lang.String fwFileName,
|
public long <B>configureFpga</B>(java.lang.String fwFileName,
|
boolean force,
|
boolean force,
|
Line 3154... |
Line 3491... |
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The destination address of the MAC EEPROM.<DD><CODE>buf</CODE> - The data.<DD><CODE>length</CODE> - The amount of bytes to be sent.
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The destination address of the MAC EEPROM.<DD><CODE>buf</CODE> - The data.<DD><CODE>length</CODE> - The amount of bytes to be sent.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware or if configuration data is present and there is a write to addresses 0 to 79. In order to override this behavior set <A HREF="../ztex/Ztex1v1.html#config"><CODE>config</CODE></A> variable to null.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="macEepromRead(int, byte[], int)"><!-- --></A><H3>
|
<A NAME="macEepromRead(int, byte[], int)"><!-- --></A><H3>
|
Line 3261... |
Line 3598... |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If FPGA number is not in range.</DL>
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If FPGA number is not in range.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="tempSensorRead(int)"><!-- --></A><H3>
|
|
tempSensorRead</H3>
|
|
<PRE>
|
|
public double <B>tempSensorRead</B>(int idx)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
|
java.lang.IndexOutOfBoundsException</PRE>
|
|
<DL>
|
|
<DD>Read temperature sensor data.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>idx</CODE> - Temperature sensor index
|
|
<DT><B>Returns:</B><DD>Temperature in deg. C
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - If interface 1 or temperature sensor protocol is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If NVRAM access to ATxmega is not supported by the firmware.
|
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If idx is not in range.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="printSpiState()"><!-- --></A><H3>
|
|
printSpiState</H3>
|
|
<PRE>
|
|
public boolean <B>printSpiState</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Prints out some debug information about SPI Flash.<br>
|
|
<b>Only use this method if such kind of Flash is installed.</b>
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
<!-- ========= END OF CLASS DATA ========= -->
|
<!-- ========= END OF CLASS DATA ========= -->
|
<HR>
|
<HR>
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|