FM25L16铁电存储器与F020读写unsignedcharSpiReadWrite(unsignedcharc){SPIF=0;SPI0DAT=c;while(SPIF==0);returnSPI0DAT;}/*unsignedcharFMRead(unsignedintaddr){unsignedcharb;fm0();_nop_();_nop_();_nop_();_nop_();SpiReadWrite(EE_READ);SpiReadWrite(addr>>8);SpiReadWrite(addr&a