| Electronic Components Datasheet Search |
|
AN2491 Datasheet(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2491 Datasheet(HTML) 14 Page - STMicroelectronics |
|
14 / 32 page ![]() 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. |
|
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 |
| 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 |