/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
* File Name          : Readme.txt
* Author             : MCD Application Team
* Date First Issued  : 03/10/2006
* Description        : Description of the TIM Example3_OPM: OPM_PWM_Mode.
********************************************************************************
* History:
* 07/17/2006 : V1.0
* 03/10/2006 : V0.1
********************************************************************************
* 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 TIM peripheral to generate a One pulse Mode 
after a falling edge received in Timer Input pin.

In this example two timers are used:
- TIM0 is configured to generate a One Pulse in PWM Mode with a delay fixed to 
  2.18 ms and a pulse length fixed to 6.55 ms. The External pulse is received on 
  TIM0_TI1 pin.
- TIM1 is configured in Output Compare Toggle Mode to generate a signal used as
  an external input signal for the TIM0 timer.
The Timer clock(CK_TIM) is set to 30 MHz. 
The two timers waveforms can be displayed using an oscilloscope. 

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


Hardware environment
====================
 - Connect TIM0_TI1 pin (P0.01) to TIM1_OC1 pin (P0.28). 
 - Connect the two timers pins to an oscilloscope:
     - TIM0_OC1 pin (P0.00)  
     - TIM1_OC1 pin (P0.28)  

  
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 :
  + 75x_lib.c
  + 75x_tim.c
  + 75x_mrcc.c
  + 75x_gpio.c
  
- Link all compiled files and load your image into either RAM or Flash
- Run the example


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