/**************************************************************************//**
 * @file     demo_UART.c
 * @brief    Sample code to demostrate the APIs related to high speed UART
 *
 * SPDX-License-Identifier: Apache-2.0
 * @copyright (C) 2020 Nuvoton Technology Corp. All rights reserved.
*****************************************************************************/
#include <stdlib.h>
#include <stdio.h>
#include "N9H26.h"
#include "demo.h"

void DemoAPI_UART(void)
{
    DBG_PRINTF("\nUART Test...\n");
#if 1
    DBG_PRINTF("Type 'y' to finish UART test...\n");
    while(1)
    {
        if (sysGetChar() == 'y')   break;
    }
#endif
    DBG_PRINTF("Finish UART Testing...\n");
}
