DSP642中PIC接口中E2PROM的地址和数据位给了 写入的函数是PCI_eepromWrite(0x123,0x8888) 地址 数据 EEDAT OF(value) 0-FFFFh EEPROM data EEADD OF(value) 0-3FFh EEPROM address 请问这么写E2PROM里的配置能变吗?还应该怎么写? unsigned int EepromAddr; EepromAddr=0x3F0; PCI_eepromWrite(EepromAddr,0xFFF0); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFF1); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFF2); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFF3); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFF4); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFF5); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFF6); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFF7); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFF8); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFF9); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFFA); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFFB); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFFC); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFFD); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFFE); EepromAddr++; PCI_eepromWrite(EepromAddr,0xFFFF); 还没有写完不过就这个意思,请多多指点
|