/* param base LPUART peripheral base address. return LPUART instance.  */
uint32_t LPUART_GetInstance(LPUART_Type *base)
/* param base LPUART peripheral base address. return LPUART instance.  */
uint32_t LPUART_GetInstance(LPUART_Type *base)
{
    uint32_t instance;
    for (instance = 0; instance < ARRAY_SIZE(s_lpuartBases); instance++)
    {
        if (s_lpuartBases[instance] == base)
        {
            break;
        }
    }
    assert(instance < ARRAY_SIZE(s_lpuartBases));
    return instance;
}