/* Get instance number for ANACTRL module. 
param base ANACTRL peripheral base address. return ANACTRL instance.  */
static uint32_t ANACTRL_GetInstance(ANACTRL_Type *base)
/* Get instance number for ANACTRL module. 
param base ANACTRL peripheral base address. return ANACTRL instance.  */
static uint32_t ANACTRL_GetInstance(ANACTRL_Type *base)
{
    uint32_t instance;
    for (instance = 0; instance < ARRAY_SIZE(s_anactrlBases); instance++)
    {
        if (s_anactrlBases[instance] == base)
        {
            break;
        }
    }
    assert(instance < ARRAY_SIZE(s_anactrlBases));
    return instance;
}