/* Gets the instance from the base address to be used to gate or ungate the module clock.  */
static uint32_t FLEXRAM_GetInstance(FLEXRAM_Type *base)
/* Gets the instance from the base address to be used to gate or ungate the module clock.  */
static uint32_t FLEXRAM_GetInstance(FLEXRAM_Type *base)
{
    uint32_t instance;
    for (instance = 0; instance < ARRAY_SIZE(s_flexramBases); instance++)
    {
        if (s_flexramBases[instance] == base)
        {
            break;
        }
    }
    assert(instance < ARRAY_SIZE(s_flexramBases));
    return instance;
}