文件名称:F06x_ADC2_ExternalInput
介绍说明--下载内容来自于网络,使用问题请自行百度
C8051F060 外设ADC2程序.测量一个外部电压,并通过串口和终端打印功能将测量结果传到计算机windows终端.-This program measures the voltage on an external ADC input and prints the
result to a terminal window via the UART.
The system is clocked using the internal 24.5MHz oscillator.
Results are printed to the UART from a loop with the rate set by a delay
based on Timer 2. This loop periodically reads the ADC value from a global
variable, Result.
The ADC makes repeated measurements at a rate determined by SAMPLE_RATE
using Timer 3. The end of each ADC conversion initiates an interrupt which
calls an averaging function.
result to a terminal window via the UART.
The system is clocked using the internal 24.5MHz oscillator.
Results are printed to the UART from a loop with the rate set by a delay
based on Timer 2. This loop periodically reads the ADC value from a global
variable, Result.
The ADC makes repeated measurements at a rate determined by SAMPLE_RATE
using Timer 3. The end of each ADC conversion initiates an interrupt which
calls an averaging function.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
F06x_ADC2_ExternalInput.c
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
