/* Start transfer and wait for completion */
ROM_I2CM_Transfer(i2cmHandle, &i2cmXfer);
}
/****************************************************************************
* 函数名:
* 输入:
* 返回:
* 描述:
* ************************************************************************/
void Read_TMP275(unsigned char Reg_Address,unsigned char *RxData )
{
/* Write address, write 1 btye, read 8 bytes back */
i2cmXfer.slaveAddr = TMP275_ADDRESS;
tx[0] = Reg_Address; //寄存器地址
|