![]() |
nrfxlib API 3.3.99
|
| 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.
| [in] | p_qspi | Identifier of the QSPI instance to reconfigure. |
| [in] | p_config | Pointer to the structure with the new configuration. |
| NRFX_SUCCESS | Reconfiguration was successful. |
| NRFX_ERROR_INVALID_STATE | The driver is not initialized or is activated. |
| NRFX_ERROR_INVALID_PARAM | The pin configuration is incorrect. |