MCU/TIP
How to set two device with SLAVE I2C on STM32F1
STM32F1 에서 I2C Slave를 사용할 경우 I2C 어드레스 주소를 두 개까지 사용 가능하다. void I2C_OwnAddress2Config ( I2C_TypeDef *I2Cx, uint8_t Address ) Configures the specified I2C own address2. **Parameters:** I2Cx,: where x can be 1, 2 or 3 to select the I2C peripheral. Address,: specifies the 7bit I2C own address2. **Return values:** None. void I2C_DualAddressCmd ( I2C_TypeDef *I2Cx, FunctionalState NewState ) Enables or..
2020. 3. 17. 08:03