/* param base LPUART peripheral base address. param data Start address of the data to write. param length Size of the data to write.  */
void LPUART_WriteBlocking(LPUART_Type *base, const uint8_t *data, size_t length)
/* param base LPUART peripheral base address. param data Start address of the data to write. param length Size of the data to write.  */
void LPUART_WriteBlocking(LPUART_Type *base, const uint8_t *data, size_t length)
{
    assert(data);
    while (length--)
    {
        while (!(base->STAT & LPUART_STAT_TDRE_MASK))
        {
        }
        base->DATA = *(data++);
    }
}