主机死机。 现象:部分脉冲后波形不再变化。 else if(u32Status == 0x58) /* DATA has been received and NACK has been returned */ { g_u8MstRxData = (unsigned char) I2C_GET_DATA(I2C0); if(g_u8MstRxData != 0x0D) { printf("Received data error.\n"); while(1); } I2C_SET_CONTROL_REG(I2C0, I2C_CTL_STO_SI); g_u8MstEndFlag = 1; }
|