void TMP_WriteConfReg(uint16_t RegValue)
{
while(I2C_GetFlagStatus(LM75_I2C, I2C_FLAG_BUSY)); //2019-12-28 16:26:38
/*-------------------------------- Transmission Phase -----------------------*/
/* Send LM75_I2C START condition */
I2C_GenerateSTART(LM75_I2C, ENABLE);
/* Test on LM75_I2C EV5 and clear it */
while (!I2C_CheckEvent(LM75_I2C, I2C_EVENT_MASTER_MODE_SELECT)) /* EV5 */
{
} |