Dialog DA9026 Посібник користувача - Сторінка 15
Переглянути онлайн або завантажити pdf Посібник користувача для Материнська плата Dialog DA9026. Dialog DA9026 15 сторінок.
DA9026 Evaluation Board
User Guide - Preliminary
Appendix D – USB Read/Write return status values
In the 'I2C Direct Commands' panel, the
return status from the I2C read/write
command is displayed.
Possible status values returned are as
follows:
E r r o r
Description
number
0
no error
1
File not found
2
Device not present: The device is not connected or the driver is not installed
correctly
3
Unable to open device
4
Usb transfer failed: The usb transfer timed out or the device has been removed
during a usb transfer
5
Out of memory: The DLL failed to allocate memory
6
Invalid parameter: One of the parameters passed to a function is wrong or out of
range
7
Interface is not initialised: The interface has not been initialized using
8
I2C transfer timed out: The I2C transfer timed out. Perhaps the I2C timeout value
has to be modified using UsbSetI2CTimeout
9
I2C bus error (lost arbitration)
10
The I2C slave did not acknowledge
11
EEprom write timed out: The EEprom did not acknowledge during the selected
EEprom timeout. Perhaps the timeout has to be increased using the function
UsbEEpSetTimeout.
12
SPI bus has to be initialised before calling this function: You called an SPI-
transfer function, but did not initialize the SPI bus using UsbSpiInit before
13
Parallel bus has to be initialized before calling this function: You called a Parallel
bus function without initializing it using
14
UsbParIn transfer timed out
15
UsbParOut transfer timed out
16
Internal error-Transaction number mismatch
For more information
Visit:
www.dialog-semiconductor.com
Email:
This publication is issued to provide outline information only, which (unless agreed by Dialog Semiconductor in writing) may not be used, applied
or reproduced for any purpose or form part of any order or contract or be regarded as a representation relating to products or services concerned.
Dialog Semiconductor reserves the right to alter without notice the specification, design, price or conditions of supply of the product. Customer
takes note that Dialog Semiconductor's products are not designed for use in devices or systems intended for supporting or monitoring life nor for
surgical implants into the body. Customer shall notify the company of any such intended use so that Dialog Semiconductor may determine
suitability. Customer agrees to indemnify Dialog Semiconductor for all damages that may be incurred due to use without the company's prior
written permission of products in such applications.
© Dialog Semiconductor 2005. All rights reserved.
DA9026
UsbParInit
or
UsbParInitUsingArray
CONFIDENTIAL
UsbInt
Dialog Semiconductor
Worldwide Offices
Germany (Headquarters)
Tel:
(+49) 7021 805-0
Fax:
(+49) 7021 805-100
Japan
Tel:
(+81) 3 3215 5123
Fax:
(+81) 3 3215 5124
Taiwan
Tel:
(+886) 28 78 58 992
Fax:
(+886) 28 78 56 357
USA
Tel:
(+1) 908 238 0200
Fax:
(+1) 908 238 0201
United Kingdom
Tel:
(+44) 1793 875327
Fax:
(+44) 1793 875328
DA9026-UG04-0705
Page 15 of 15