/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name          : Readme.txt
* Author             : MCD Application Team
* Version            : V4.0
* Date               : 10/09/2007
* Description        : Description of the TIMER PWM input 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 demonstrates the PWM input feature of the Timer :
Timer 3 is configured to measure the frequency and the duty-cycle of an input 
signal using the timer Input Capture A module.

This example run at 32MHz with a 16MHz external oscilator.


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
====================
An external square signal must be injected at P1.1 pin.
The signal frequency should belong to [500000..500]Hz


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
  + gpio.c
  + apb.c
  + rccu.c
  + tim.c

- Link all compiled files and load your image into either RAM or FLASH
- Run the example 
- The signal frequency and duty-cycle will be displayed in toolchain terminal I/O
  window.

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