Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2491 Datasheet(PDF) 14 Page - STMicroelectronics

Part # AN2491
Description  STW8110x hardware component layer API guide
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2491 Datasheet(HTML) 14 Page - STMicroelectronics

Back Button AN2491 Datasheet HTML 10Page - STMicroelectronics AN2491 Datasheet HTML 11Page - STMicroelectronics AN2491 Datasheet HTML 12Page - STMicroelectronics AN2491 Datasheet HTML 13Page - STMicroelectronics AN2491 Datasheet HTML 14Page - STMicroelectronics AN2491 Datasheet HTML 15Page - STMicroelectronics AN2491 Datasheet HTML 16Page - STMicroelectronics AN2491 Datasheet HTML 17Page - STMicroelectronics AN2491 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 32 page
background image
Functions
AN2491
14/32
5
Functions
STW8110x has 3 bits which are programmable in I2C mode. This means that eight
STW8110x devices should be connected to the same I2C master.
The choice of device is performed via the 3 programmable address bits (A2, A1, A0 set to
0V (0) or 3.3V (1)). This is why, if I2C mode is selected, some functions require a
supplementary parameter which specifies the address of the device to access I2C_ADD (0
to 7).
5.1
Both modes
STW8110x_Init()
Description
Initializes the STW8110x HCL.
Definition
t_stw8110x_error STW8110x_Init(
t_stw8110x_Config *Device_config_init
#ifdef __INTERFACE_I2C
,t_uint8 I2C_ADD
#endif
);
Arguments
Both modes (out)
I2C mode (in)
Device_config_init
: Structure containing default config of device
I2C_ADD
: Address of STW8110x device (only I2C mode)
Return value
t_stw8110x_error
FunctionType
Synchronous
Comments
Potential errors:
– Both modes:
OK
,
–I2C modes:
ERR_BAD_DEVICE
,
ERR_I2C_ACK
,
ERR_I2C_READ
The routine initializes the device configuration descriptor. If I2C mode is
selected, a read of the read only register is performed to check if the selected
target matches with the accessed device.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com