Browse Source

Fixed unwanted deletions...

pull/406/merge
Angus Peart 10 years ago
committed by Piotr Esden-Tempski
parent
commit
b58ac190bb
  1. 3
      lib/stm32/common/i2c_common_all.c

3
lib/stm32/common/i2c_common_all.c

@ -155,8 +155,11 @@ void i2c_set_own_7bit_slave_address(uint32_t i2c, uint8_t slave)
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/** @brief I2C Set the 10 bit Slave Address for the Peripheral. /** @brief I2C Set the 10 bit Slave Address for the Peripheral.
This sets an address for Slave mode operation, in 10 bit form. This sets an address for Slave mode operation, in 10 bit form.
@todo add "I2C_OAR1(i2c) |= (1 << 14);" as above @todo add "I2C_OAR1(i2c) |= (1 << 14);" as above
@param[in] i2c Unsigned int32. I2C register base address @ref i2c_reg_base. @param[in] i2c Unsigned int32. I2C register base address @ref i2c_reg_base.
@param[in] slave Unsigned int16. Slave address 0...1023. @param[in] slave Unsigned int16. Slave address 0...1023.
*/ */

Loading…
Cancel
Save