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

◆ nrf_sqspi_deactivate()

nrfx_err_t nrf_sqspi_deactivate ( nrf_sqspi_t const * p_qspi)

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

Function for deactivating the QSPI driver instance.

The peripheral may stop controlling its GPIOs when deactivated.

If the driver instance is configured with skip_gpio_cfg, the caller of this function should configure GPIOs to avoid glitches when the peripheral gets deactivated.

Note
If a transfer is ongoing when the function is called, the transfer is aborted. Any prepared transfer is discarded on deactivation.
Parameters
[in]p_qspiIdentifier of the QSPI instance to deactivate.
Return values
NRFX_SUCCESSThe driver instance has been activated.