How select address for I2C multislave stm32l4 in interrupt callback ?
My target is select more slaves in callback I2C RX , I have tryed withvoid HAL_I2C_MasterRxCpltCallback(I2C_HandleTypeDef *hi2c){ if (hi2c1.Instance->CR2 & I2C_CR2_SADD == I2C_ADDRESS) {.....}}but don't work !!When I try to use the field in static ...