![]() |
nrfxlib API 3.3.99
|
| nrfx_err_t nrf_sqspi_init | ( | nrf_sqspi_t const * | p_qspi, |
| nrf_sqspi_cfg_t const * | p_config ) |
#include <softperipheral/sQSPI/include/nrf_sqspi.h>
Initialize the QSPI driver instance.
This function configures the peripheral.
This function configures the SoC peripheral attached to the serial bus. To configure the devices on the bus use nrf_sqspi_dev_cfg.
| [in] | p_qspi | Identifier of the QSPI instance to initialize. |
| [in] | p_config | Pointer to the structure with the initial configuration. |
| NRFX_SUCCESS | Initialization was successful. |
| NRFX_ERROR_ALREADY | The driver is already initialized. |
| NRFX_ERROR_INVALID_PARAM | The pin configuration is incorrect. |