Inter-integrated circuit interface (I2C)
13.2.10.9 I2C_GetAddressMatched
uint8_t I2C_GetAddressMatched ( I2C_TypeDef * I2Cx)
Returns the I2C slave matched address .
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· The value of the slave matched address .
13.2.10.10 I2C_GetTransferDirection
uint16_t I2C_GetTransferDirection ( I2C_TypeDef * I2Cx)
Returns the I2C slave received request.
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· The value of the received request.
13.2.10.11 I2C_TransferHandling
void I2C_TransferHandling ( I2C_TypeDef * I2Cx, uint16_t
Address, uint8_t Number_Bytes, uint32_t ReloadEndMode,
uint32_t StartStopMode)
Handles I2Cx communication when starting transfer or during
transfer (TC or TCR flag are set).
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· Address : specifies the slave address to be programmed.