cancel
Showing results for 
Search instead for 
Did you mean: 

for the LSM32l4 what is the OwnAddress1 = I2C_ADDRESS;

JBonn
Associate III
 
2 REPLIES 2

What is LSM32l4 ?

JW

Petr DAVID
ST Employee

Hello Jbonn,

it seems to me that you are referring to some examples on I2C peripheral. Maybe from STM32L4 family? In order to work in slave mode, the user must enable at least one slave address. OwnAddress1 is part of the initialization struct and I2C_ADDRESS is literal(constant) defined using  #define preprocessor it would be the i2c address you would like address with your slave device. If you are new to this topic I would recommend you to take a look on online training available here. In case I did not fully understand your question let me know.

Petr