/* param base FLEXSPI peripheral base address. param handle pointer to flexspi_handle_t structure.  */
__attribute__((section(".ramfunc.$RAM2")))
/* param base FLEXSPI peripheral base address. param handle pointer to flexspi_handle_t structure.  */
__attribute__((section(".ramfunc.$RAM2")))
{
    uint32_t instance;
    for (instance = 0; instance < ARRAY_SIZE(s_flexspiBases); instance++)
    {
        if (s_flexspiBases[instance] == base)
        {
            break;
        }
    }
    assert(instance < ARRAY_SIZE(s_flexspiBases));
    return instance;
}