/* param base TSI peripheral base address. return TSI instance.  */
uint32_t TSI_GetInstance(TSI_Type *base)
/* param base TSI peripheral base address. return TSI instance.  */
uint32_t TSI_GetInstance(TSI_Type *base)
{
    uint32_t instance;
    for (instance = 0U; instance < ARRAY_SIZE(s_tsiBases); instance++)
    {
        if (s_tsiBases[instance] == base)
        {
            break;
        }
    }
    assert(instance < ARRAY_SIZE(s_tsiBases));
    return instance;
}