瀏覽次數:384by:標高電子
!i2c>
APUS
Part No:MPTP-I2C/SPI-APUS
Overview:
APUS is an interface adapter designed for controlling any test system incorporating I2C, SPI or general purpose IOs (GPIO). Today, usage of these protocols is extremely widespread including electronics for telecommunications, portable electronics and medical electronics to give some examples.
APUS is simply connected to the system under test using one or more of the available interfaces. APUS accepts USB commands from the host PC and then implements the necessary bus protocol for I2C, SPI or GPIO as required. The connection back to the host PC is via a standard USB cable and provides all power requirements of the APUS.
The host PC includes the necessary driver and DLL to implement the high level commands so that the user can rapidly develop his/her own custom applications.
Typical applications are written in C/C++ or Visual C++. Users have therefore the choice of developing GUI style control applications or non-Windows batch style control - depending on what is required.
APUS comes with a rich set of example applications and documentation making custom applications an extremely simple process even for those with little programming knowledge.
SPI Interface:
I2C Interface:
GPIO Interface:
Analogue:
The API (Application Programming Interface) is designed for easy use in creating custom applications incorporating simple high level commands. Some examples of functions which can be called are shown over.
API:
For the complete API specification refer to the following link:
Nano_GetEvents() |
Nano_SPIMasterSetFrequency() |
|
Nano_SPIMasterReadWrite() |
Nano_GPIOASetContinuousMode() |
Nano_SPIMasterWrite() |
Nano_GPIOASetPulseMode() |
Nano_SPIMasterRead() |
Nano_GPIOASetPWMMode() |
Nano_SPISlaveBufferWrite() |
Nano_GPIOASetDigitalOutputMode() |
Nano_SPISlaveBufferRead() |
Nano_GPIOAGetDigitalInput() |
Nano_SPISlaveArm() |
Nano_GPIOAGetInterruptInput() |
|
Nano_GPIOBWrite() |
Nano_I2CMasterSetFrequency() |
Nano_GPIOBRead() |
Nano_I2CMasterScanConnectedDevices() |
Nano_GPIOBSingleBitWrite() |
Nano_I2CMasterWrite() |
Nano_GPIOBSingleBitRead() |
Nano_I2CMasterRead() |
|
Nano_I2CMasterWriteRead() |
Nano_ADCRead() |
Nano_I2CSlaveArm() |
Examples
|
#i2c#spi#gpio#usb#pc#c++#api