/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name          : Readme.txt
* Author             : MCD Application Team
* Version            : V4.0
* Date               : 10/09/2007
* Description        : Description of the UART Fifo example.
********************************************************************************
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/

Example description
===================
 This example shows how to use the UART in order to communicate between the 
 STR71x and a PC using RS232 protocol.
 The main program configures the UART0 to generate an RxHalfFull interrupt
 when 8 charaters are received and to generate an RxBufNotEmpty interrupt when only
 one character is recieved.
 
The user has to select to send one or 8 characters from the Hyperterminal:
select '1' to send 8 characters
Select '2' to send 1 character 
 
The received characters will be read in the UART0 interrupt service routine to be
transmitted back to the Host PC.
The communication is performed using the Hyperterminal application under Windows.

- Press keys 1 or 2 to select the number of characteres to be send. Then, Press any 
key and if the program works properly, you will see the same character
in the Hyperterminal application window. If you stop the program execution,the
characters won't be displayed.


Directory contents
==================
 71x_conf.h  Library Configuration file
 71x_it.c    Interrupt handlers
 71x_it.h    Interrupt handlers header file
 main.c      Main program



Hardware environment
====================
Connect the COM A port on the STR71x-Eval board (mb393) using a serial link to a PC
- Hyperterminal configuration:
    - Word Length = 8 Bits
    - 1 Stop Bit
    - No parity
    - BaudRate = 9600 baud
    - flow control: None  


How to use it
=============
In order to make the program work, you must do the following :
- Create a project and setup all your toolchain's start-up files
- Compile the directory content files and required Library files :
  + 71x_lib.c
  + 71x_apb.c
  + 71x_eic.c
  + 71x_gpio.c
  + 71x_rccu.c
  + 71x_uart.c
  
- Link all compiled files and load your image into either RAM or FLASH
- Run the example


******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE****
