/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
* File Name          : Readme.txt
* Author             : MCD Application Team
* Date First Issued  : 05/18/2006 : Version 1.0
* Description        : Description of the ADC Example.
********************************************************************************
* History:
* 05/24/2006 : Version 1.1
* 05/18/2006 : Version 1.0
********************************************************************************
* 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 provides a short description of how to use the ADC peripheral and
gives an example how to configure the ADC in continuous mode and using the 
interrupt feature.

The example permits to convert the analog signal issued from a trimmer (RV2 on
the MB460 Eval board) and connected to the channel 6 (P4.6 pin 125) of the ADC.


When the conversion is finished an interrupt is generated. In the ADC interrupt 
service routine, the converted value is then used to set the pulse of TIM0 which 
is configured in PWM mode.

You can see the PWM signal generated by the timer in the P6.0 pin (pin 37 of
the CN5 connector on the MB460 Eval board).


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


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


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