⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 NE-STR750各部分的程序
💻 TXT
字号:
/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
* File Name          : Readme.txt
* Author             : MCD Application Team
* Date First Issued  : 03/10/2006
* Description        : Description of the ADC Example.
********************************************************************************
* History:
* 06/20/2007 : V1.1
* The document is modified by New-Embed Co.Ltd(http://wwww.2embed.com) to fit the NE-STR750F board.
* 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 provides a description of how to use the ADC Ananalog watchdog low
and high thresholds detection.
The ADC channel14 analog input which is guarded by the Analog watchdog0, is
converted in scan mode with a conversion frequency equal to 50KHz.
On each end of conversion (EOC), an interrupt is generated where the program
read the comparison result between the converted input value and the configured
Analog Watchdog0 low (0x100) and high (0x200) thresholds. The result is then
displayed on two leds connected to pins P0.08 and 0.09 as below:
 - Analog input under Analog Watchdog0 low threshold: Led connected to P0.08 switched on
 - Analog input up Analog Watchdog0 high threshold: Led connected to P0.09 switched on
 - Analog input between Analog Watchdog0 low and high thresholds: leds switched on


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


Hardware environment
====================
 - Connect two leds to pins P0.08 and P0.09 (LD4 and LD3 on NE-STR750F board).
 - Connect a variable power supply 0-3.3V to ADC Channel14 mapped on pin P1.13
   (potentiometer VR1 on NE-STR750F board)


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_adc.c
  + 75x_gpio.c
  + 75x_mrcc.c
  + 75x_eic.c

- Link all compiled files and load your image into either RAM or Flash
- Run the example


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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -