Synergy Software Package User's Manual
sf_memory_qspi_nor_cfg_t Struct Reference

#include <sf_memory_qspi_nor.h>

Data Fields

qspi_instance_t const *const p_qspi
 Lower level driver.
 
uint32_t timeout_ticks
 Number of ticks to timeout on erase or write waiting.
 
void * p_delay_callback_context
 Context passed to the delay callback.
 
void(* p_delay_callback )(sf_memory_qspi_nor_delay_callback_args_t *p_args)
 

Detailed Description

User configuration structure, used in open function

Field Documentation

◆ p_delay_callback

void(* sf_memory_qspi_nor_cfg_t::p_delay_callback) (sf_memory_qspi_nor_delay_callback_args_t *p_args)

A custom delay callback can be used to fine tune the amount of time to wait before starting to poll the QSPI chip after a write or erase operation. If a custom delay callback is used and a timeout occurs the p_args->timeout_remaining variable must be set to 0 to indicate to the calling function that a timeout has occurred.


The documentation for this struct was generated from the following file: