qspi_sync_init

Initialize QSPI low level driver.

int32_t qspi_sync_init(
    struct qspi_sync_descriptor * qspi,
    void * hw
)

Parameters

qspi

Type: struct qspi_sync_descriptor Struct *

Pointer to the QSPI device instance

hw

Type: void *

Pointer to the hardware base

Returns

Type: int32_t

Operation status.

ERR_NONE

Success