/* See mss_uart.h for details of how to use this function.  */
void MSS_UART_polled_tx_string(mss_uart_instance_t *this_uart, const uint8_t *p_sz_string)
/* See mss_uart.h for details of how to use this function.  */
void MSS_UART_polled_tx_string(mss_uart_instance_t *this_uart, const uint8_t *p_sz_string)
{
	uint32_t char_idx;
	uint32_t status;
    ASSERT( (this_uart == &g_mss_uart0) || (this_uart == &g_mss_uart1) );
    char_idx = 0U;
    while ( p_sz_string[char_idx] != 0U )
    {
        do {
            status = this_uart->hw_reg_bit->LSR_THRE;
        } while ( (status & TX_READY) == 0U);
        this_uart->hw_reg->THR = p_sz_string[char_idx];
        ++char_idx;
    }
}