4.12 Memory APIs

The Demonstration boards include a QSPI serial Flash. The application interacts with the memory by means of:

  • status_code_t ExtMemInit(void)
  • uint16_t ExtMemRead(extmemreg_t mem_reg_id, void *ptr_data)
  • uint16_t ExtMemReadSize(extmemreg_t mem_reg_id, void *ptr_data, uint16_t size)
  • uint16_t ExtMemWrite(extmemreg_t mem_reg_id, void *ptr_data)
  • uint8_t ExtMemGetUniqueId(uint8_t *puc_data, uint8_t len)

Some of the functions above use the API provided in the /components/memory/qspi_flash/sst26vfxxx folder.