전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN2491 데이터시트(PDF) 14 Page - STMicroelectronics

부품명 AN2491
상세설명  STW8110x hardware component layer API guide
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2491 데이터시트(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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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