/* Get the LPSCI instance from peripheral base address.  */
uint32_t LPSCI_GetInstance(UART0_Type *base)
/* Get the LPSCI instance from peripheral base address.  */
uint32_t LPSCI_GetInstance(UART0_Type *base)
{
    uint32_t instance;
    for (instance = 0; instance < FSL_FEATURE_SOC_LPSCI_COUNT; instance++)
    {
        if (s_lpsciBases[instance] == base)
        {
            break;
        }
    }
    assert(instance < FSL_FEATURE_SOC_LPSCI_COUNT);
    return instance;
}