/**
@page USART_HyperTerminal_TxRx_Interrupt

 @verbatim
 * @file    USART/HyperTerminal_TxRx_Interrupt/readme.txt
 * @version V1.00
 * @date    2014-06-30
 * @brief   Description of USART Interrupt example.
 @endverbatim

@par Example Description:

This example describes how to configure USART & UART simultaneously transmit by interrupt.

The USART_CLK frequency is set to 72 MHz.

Both USARTs are configured with 8bits Word length, one stop bit, no parity and baud rate is set to 115200 bps,
remember to enable THREIE & RLSIE interrupt for both USARTs.

The USARTx_IRQHandler will make sure that URxTxReadIndex and URxTxWriteIndex value.If they are equal,
USARTx_IRQHandler will disable TFTLIE interrupt, until the value is written to URxTxBuf[] and
generate interrupt by TFTLIE set.Otherwise if the interrupt is generated by RLSIE set, USART will receive
datum to URxRxBuf[] from another USART.

@par Directory Contents:

- USART/HyperTerminal_TxRx_Interrupt/main.c               Main program
- USART/HyperTerminal_TxRx_Interrupt/ht32fxxxx_it.c       Interrupt handlers

@par Hardware and Software Environment:

- Connect a null-modem female/female RS232 cable between the DB9 connector COM1 or COM2 and PC serial port.
- You can connect USART0(CN12) to USART1(CN13), when successfully entered USART0 RLSIE interrupt, LED1 will be
  turn on.If successfully entered USART1 RFTLI_RTOIE interrupt, LED2 will be turn on.

- This example shows the result by LED1 and LED2 or hyperterminal.
- Hyperterminal configuration:
  - Word Length = 8 Bits
  - One Stop Bit
  - No parity
  - BaudRate = 115200 baud
  - flow control: None
- This example can be run on HT32 Series development board.

@par Firmware Disclaimer Information

1. The customer hereby acknowledges and agrees that the program technical documentation, including the
   code, which is supplied by Holtek Semiconductor Inc., (hereinafter referred to as "HOLTEK") is the
   proprietary and confidential intellectual property of HOLTEK, and is protected by copyright law and
   other intellectual property laws.

2. The customer hereby acknowledges and agrees that the program technical documentation, including the
   code, is confidential information belonging to HOLTEK, and must not be disclosed to any third parties
   other than HOLTEK and the customer.

3. The program technical documentation, including the code, is provided "as is" and for customer reference
   only. After delivery by HOLTEK, the customer shall use the program technical documentation, including
   the code, at their own risk. HOLTEK disclaims any expressed, implied or statutory warranties, including
   the warranties of merchantability, satisfactory quality and fitness for a particular purpose.

 * <h2><center>Copyright (C) Holtek Semiconductor Inc. All rights reserved</center></h2>
 */
