THIS SOFTWARE IS PROVIDED BY XVERVE TECHNOLOGIES INC. ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL XVERVE TECHNOLOGIES INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SOFTWARE, IDE, LIBRARIES, DRIVERS AND SAMPLE APPLICATIONS PROVIDED BY XVERVE TECHNOLOGIES INC. MAY BE USED ONLY IN CONJUNCTION WITH SIGNALYZER MODULES.
ALL XVERVE TECHNOLOGIES INC. SOFTWARE COMPONENTS MAY BE DISTRIBUTED IN ANY FORM AS
LONG AS ORIGINAL LICENSE INFORMATION IS NOT MODIFIED AND ACCOMPANIED WITH PRODUCT RELEASE
|
Revision |
Date |
Notes |
Author |
|
0.01 |
2011-08-01 |
Initial Release |
OS |
|
|
|
|
|
|
|
|
|
|
The SIGNALYZER-LIB is an easy-to-use Application Program Interface (API), designed to give you complete access to the Signalyzer series functionality and support for SPI, I2C, JTAG and FIFO protocols, allowing easy integration with a wide range of other systems such as development/evaluation boards, test and manufacturing systems and more.
The SIGNALYZER-LIB programming language bindings make integration of the API into custom applications simple. Accessing the functionality of Signalyzer-H series devices simply requires function calls to the API. This API is easy to understand, much like the standard ANSI C library functions. There is no unnecessary entanglement with the Windows messaging subsystem as in development kits for other embedded tools.
There are no charges or licensing fees to start developing with the SIGNALYZER-LIB API. Furthermore, the SIGNALYZER-LIB is royalty free and it can be used and distributed in third party applications absolutely free.
Never underestimate the value of good software. Xverve Technologies Inc. makes tools for engineers by engineers. We strive to make your job of integrating the Development API as easy as possible. With one quick look, you will notice that the API is clean, easy to understand, and can be used with variety of compilers and development tools.
The SIGNALYZER-LIB API documentation is divided into following primary categories:
The API divided into two main categories of the calls
Every API call, whether it was successful or failed for various reasons, the SIGNALYZER_STATUS code is returned to help to determine the results of the call and failure.
|
Function |
Description |
|
signalyzer_get_library_version |
Returns SIGNALYZER-LIB version information |
|
signalyzer_get_status_description |
Returns textual description of SIGNALYZER_STATUS |
|
signalyzer_get_number_of_devices |
Returns number of devices attached |
|
signalyzer_get_device_list |
Retrieves detailed list of attached devices |
|
signalyzer_open |
Opens a connection with specified Signalyzer device |
|
signalyzer_close |
Closes a connection with previously opened Signalyzer device |
|
signalyzer_set_log_output |
Sets where debug log generated by SIGNALYZER-LIB shall be redirected |
|
signalyzer_get_attribute_id |
Retrieves Attribute ID based on its textual description |
|
signalyzer_get_attribute_description |
Retrieves textual description for specified Attribute |
|
signalyzer_write_u8 |
Writes an unsigned char (byte) into specified Attribute ID |
|
signalyzer_write_u16 |
Writes an unsigned short (16-bits) into specified Attribute ID |
|
signalyzer_write_u32 |
Writes an unsigned int (32-bits) into specified Attribute ID |
|
signalyzer_write_u64 |
Writes an unsigned long long (64-bits) into specified Attribute ID |
|
signalyzer_write |
Writes set number of bits into specified Attribute ID |
|
signalyzer_read_u8 |
Reads an unsigned char (byte) from specified Attribute ID |
|
signalyzer_read_u16 |
Reads an unsigned short (16-bits) from specified Attribute ID |
|
signalyzer_read_u32 |
Reads an unsigned int (32-bits) from specified Attribute ID |
|
signalyzer_read_u64 |
Reads an unsigned long long (64-bits) from specified Attribute ID |
|
signalyzer_read |
Reads set number of bits from specified Attribute ID |
|
signalyzer_write_read_u8 |
Writes and Reads an unsigned char (byte) from specified Attribute ID |
|
signalyzer_write_read_u16 |
Writes and Reads an unsigned short (16-bits) from specified Attribute ID |
|
signalyzer_write_read_u32 |
Writes and Reads an unsigned int (32-bits) from specified Attribute ID |
|
signalyzer_write_read_u64 |
Writes and Reads an unsigned long long (64-bits) from Attribute ID |
|
signalyzer_write_read |
Writes and Reads set number of bits from specified Attribute ID |
Please refer to SIGNALYZER_LIB User Guide for detailed description of each function call.
Parameters, operating mode and overall device operation are controlled using attributes. From the prospective of Embedded Development Attribute can also be viewed as set of registers. Writing a value to Attribute or Register will result in certain action. Attributes control as low-level device functions as well as mode specific parameters and timing settings.
This section provides detailed overview of MPSSE attributes. For other Attributes please refer to corresponding documentation.
Read SIGNALYZER-LIB version information
ID: 0x00000001
Size: 32-bits (uint32_t)
Access: READ ONLY
Operating Mode: ALL
Compatible Devices: All Signalyzer series devices
Attribute Naming Convention: SIGNALYZER_ATTRIBUTE_CORE_API_VERSION [ C ]
SIGNALYZER_ATTRIBUTE.CORE_API_VERSION [ .NET | C++ ]
CORE_API_VERSION [ ASCII | Tcl ]