DSP2812通过I2C方式读写带RTC的eeprom(X1226) void init_rtc(void) { *IIC_SDA_DIR = 0; *IIC_SCL_DIR = 0; Set_Delay(200); *IIC_SCL_OUT = 1; Set_Delay(200); *IIC_SDA_OUT = 1; Set_Delay(200); }