nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_sqspi_reconfigure()

nrfx_err_t nrf_sqspi_reconfigure ( nrf_sqspi_t const * p_qspi,
nrf_sqspi_cfg_t const * p_config )

#include <softperipheral/sQSPI/include/nrf_sqspi.h>

Reconfigure the QSPI driver instance.

This function allows changing the configuration of an already initialized QSPI instance.

This function must be called when the driver is deactivated. Calling this function on an activated driver instance (e.g. during a transfer) results in an error.

Parameters
[in]p_qspiIdentifier of the QSPI instance to reconfigure.
[in]p_configPointer to the structure with the new configuration.
Return values
NRFX_SUCCESSReconfiguration was successful.
NRFX_ERROR_INVALID_STATEThe driver is not initialized or is activated.
NRFX_ERROR_INVALID_PARAMThe pin configuration is incorrect.