void I2C_Send7bitAddress(I2C_TypeDef* I2Cx, uint8_t Address, uint8_t I2C_Direction)
I2C_Direction | 説明 |
I2C_Direction_Transmitter | 送信方向を選択 |
I2C_Direction_Receiver | 受信方向を選択 |
/* Send, as transmitter, the Slave device address 0xA8 in 7-bit addressing mode in I2C1 */ I2C_Send7bitAddress(I2C1, 0xA8, I2C_Direction_Transmitter);