Skip to content
Marzogh edited this page Mar 8, 2018 · 10 revisions

Usage

  • The constructor is used to instantiate an instance of the library in the user code.

  • begin()

  • setClock()


  • getManID()

  • getJEDECID()

  • getUniqueID()

  • getCapacity()

  • getmaxPage()


All read commands take a last boolean argument 'fastRead'. This argument defaults to FALSE, but when set to TRUE carries out the Fast Read instruction so data can be read at up to the memory's maximum frequency.

  • readAnything()

  • readByte()

  • readChar()

  • readWord()

  • readShort()

  • readULong()

  • readLong()

  • readFloat()

  • readStr()

  • readByteArray()

  • readCharArray()


All write commands take a boolean last argument 'errorCheck'. This argument defaults to TRUE, but when set to FALSE will more than double the writing speed. This however comes at the cost of checking for writing errors. Use with care.

  • writeAnything()

  • writeByte()

  • writeChar()

  • writeWord()

  • writeShort()

  • writeULong()

  • writeLong()

  • writeFloat()

  • writeStr()

  • writeByteArray()

  • writeCharArray()


  • eraseSection()

  • eraseSector()

  • eraseBlock32K()

  • eraseBlock64K()

  • eraseChip()


  • suspendProg()

  • resumeProg()


  • powerDown()

  • powerUp()


  • sizeofStr()

  • getAddress()


  • error()

  • libver()

  • functionRunTime()


Clone this wiki locally