U2C-12 USB-I2C/SPI/GPIO Interface Adapter Users Manual


Table of Contents

Introduction
1. I2C Bridge Software and U2C-12 Hardware Drivers Installation
1.1. System Requirements
1.2. Software Installation
1.2.1. Driver Signing Settings
1.2.2. Installing I2C Bridge
1.3. Hardware Drivers Installation
2. Control Panel Application
2.1. Control Panel User Interface
2.1.1. Control Panel Main Window
2.1.2. Main Menu and Toolbar
2.2. Control Panel Instruments
2.2.1. "I2C Configuration" Dialog Window
2.2.2. "SPI Bus Configuration" Dialog Window
2.2.3. "I2C Bridge Devices" Bar
2.2.4. "I2C Read" Bar
2.2.5. "I2C Write" Bar
2.2.6. "I2C Low Level" Bar
2.2.7. "I2C Bus Level" Bar
2.2.8. "SPI Bus" Bar
3. API Documentation
3.1. U2C-12 device initialization routines
3.1.1. U2C_GetDeviceCount()
3.1.2. U2C_GetSerialNum()
3.1.3. U2C_IsHandleValid()
3.1.4. U2C_OpenDevice()
3.1.5. U2C_OpenDeviceBySerialNum()
3.1.6. U2C_CloseDevice()
3.1.7. U2C_GetFirmwareVersion()
3.1.8. U2C_GetDriverVersion()
3.1.9. U2C_GetDllVersion()
3.2. I2C bus configuration routines
3.2.1. U2C_SetI2cFreq()
3.2.2. U2C_GetI2cFreq()
3.2.3. U2C_SetClockSynch()
3.2.4. U2C_GetClockSynch()
3.2.5. U2C_SetClockSynchTimeout()
3.2.6. U2C_GetClockSynchTimeout()
3.3. I2C high level routines
3.3.1. U2C_Read()
3.3.2. U2C_Write()
3.3.3. U2C_ScanDevices()
3.3.4. U2C_RW_Pack()
3.4. I2C low level routines
3.4.1. U2C_Start()
3.4.2. U2C_RepeatedStart()
3.4.3. U2C_Stop()
3.4.4. U2C_PutByte()
3.4.5. U2C_GetByte()
3.4.6. U2C_PutByteWithAck()
3.4.7. U2C_GetByteWithAck()
3.4.8. U2C_PutAck()
3.4.9. U2C_GetAck()
3.5. I2C wire level routines
3.5.1. U2C_ReadScl()
3.5.2. U2C_ReadSda()
3.5.3. U2C_ReleaseScl()
3.5.4. U2C_ReleaseSda()
3.5.5. U2C_DropScl()
3.5.6. U2C_DropSda()
3.6. GPIO routines
3.6.1. U2C_SetIoDirection()
3.6.2. U2C_GetIoDirection()
3.6.3. U2C_IoWrite()
3.6.4. U2C_IoRead()
3.6.5. U2C_SetSingleIoDirection()
3.6.6. U2C_GetSingleIoDirection()
3.6.7. U2C_SingleIoWrite()
3.6.8. U2C_SingleIoRead()
3.7. SPI bus configuration routines
3.7.1. U2C_SpiSetConfig()
3.7.2. U2C_SpiGetConfig()
3.7.3. U2C_SpiSetConfigEx()
3.7.4. U2C_SpiGetConfigEx()
3.7.5. U2C_SpiSetFreq()
3.7.6. U2C_SpiGetFreq()
3.7.7. U2C_SpiConfigSS()
3.8. SPI data transfer routines
3.8.1. U2C_SpiReadWrite()
3.8.2. U2C_SpiWrite()
3.8.3. U2C_SpiRead()
3.8.4. U2C_SpiReadWriteSS()
3.8.5. U2C_SpiWriteSS()
3.8.6. U2C_SpiReadSS()
4. Electrical Characteristics