參數(shù)資料
型號(hào): PICADLL
英文描述: Single/Dual/Quad 220MHz, 1500V/µs Operational Amplifiers with Programmable Supply Current; Package: MSOP; No of Pins: 8; Temperature Range: -40°C to +85°C
中文描述: 開(kāi)發(fā)的DLL的桌面
文件頁(yè)數(shù): 7/13頁(yè)
文件大?。?/td> 49K
代理商: PICADLL
Issue 1.4
18/06/98
Page 4
2.7.
Function Description
2.7.1.
setup
Function specification
int setup(int baseaddress, int ownaddress, int sclk, int statuswait)
Parameters are:
int baseaddress
This has no function and any value may be passed to setup, The
baseaddress has been retained to enable applications written for the ISA Bus
ICA90 to be ported with a minimum of changes.
int ownaddress
This is the I2C address to which the adapter is to respond in slave mode. This
forms the upper 7 bits of the 8 bit address, the lowest bit being the read(1) or
write(0) bit. This means that if ownaddress = 57H the card will respond to a
write address of AEH and a read address of AFH.
int sclk
This is the clock rate (bit rate for the I2C serial bus) when operating as a
master.
Value of sclk
Approximate SCL-KHz
0
90
1
45
2
11
3
1.5
int statuswait
This is a period of time (in micro seconds) to wait for the required bus status.
If this time-out expires the I2C functions will exit returning an error code.
Parameters returned
If the software fails to find the driver error code 9001H is returned otherwise
the status is returned.
Prerequisites
None.
Functional description This function characterises the PC and initialise adapter ready for I2C
transfers.
2.7.2.
sendaddress
Function specification
Int sendaddress(int slaveaddress, int setnack)
Parameters are:
int slaveaddress
This is the address to be accessed via the I2C, e.g. A0H.
int setnack
This controls whether the Parallel I2C Communications Adapter transmits an
Acknowledge down the I2C Bus on reception of a byte. The last byte received
during a transfer must not be acknowledged, in all other cases acknowledge
must be enabled. If setnack = 0 then acknowledge is enabled, if setnack = 1
then acknowledge is disabled. Therefore, if a read (odd numbered) address is
being sent AND only 1 Byte is to be read, setnack should be set to = 1; in all
other cases it must be clear = 0.
Parameters returned
int ErrCode
.
If the software fails to open a handle to the driver 0x9000 is returned.
If the transfer time out occurs error code 8001H is returned otherwise the
status is returned.
Prerequisites
The adapter must be configured for PC and application by running
setup
.
Functional description The function waits for the bus to be free. Then sends the slave address with
the appropriate acknowledge.
相關(guān)PDF資料
PDF描述
PID2PCMCIA Telecommunication IC
CSP1034AH Telecommunication IC
DSP1643 Telecommunication IC
PID9q-604e 32-Bit RISC Microprocessor(32位精簡(jiǎn)指令集微處理器)
PIEZO_SYSTEMS_PRODUCT_CATALOG 600mA, 500kHz Step-Down Switching Regulator in SOT-23; Package: SOT; No of Pins: 6; Temperature Range: -40°C to +125°C
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PICAMBOX 制造商:Nwazet 功能描述:PI CAMERA BOX
PICAMBOXBUNDLE 制造商:Nwazet 功能描述:PI CAMERA BOX BUNDLE WITH FISHEYE LENS
PICAMWALLMNT 制造商:Nwazet 功能描述:PI CAMERA WALL MOUNT
PICASO 功能描述:顯示開(kāi)發(fā)工具 Embedded Serial Graphics Controller RoHS:否 制造商:4D Systems 產(chǎn)品:4Display Shields 工具用于評(píng)估:?OLED-160-G1, ?OLED-160-G2 接口類型:Serial 工作電源電壓:5 V
PIC-BEE 功能描述:子卡和OEM板 PIC-BEE XBEE RADIO INTERFACE RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit