文件名称:EFM8BB2_ADC
介绍说明--下载内容来自于网络,使用问题请自行百度
ADC实例,用于模拟量采样实例,内部REF(The system is clocked by the internal 24.5 MHz oscillator divided by 1.
// Timer 2 triggers a conversion on ADC0 on each overflow. The completion of
// this conversionin turn triggers an interrupt service routine (ISR). The ISR
// averages 2048 measurements, then prints the value to the terminal via printf
// before starting another average cycle.
//
// The analog multiplexer selects P1.7 (ADC0.15) as the positive ADC0 input.
// This pin is configured as an analog input in the port initialization
// routine. The negative ADC0 input is connected via mux to ground, which
// provides for a single-ended ADC input.)
// Timer 2 triggers a conversion on ADC0 on each overflow. The completion of
// this conversionin turn triggers an interrupt service routine (ISR). The ISR
// averages 2048 measurements, then prints the value to the terminal via printf
// before starting another average cycle.
//
// The analog multiplexer selects P1.7 (ADC0.15) as the positive ADC0 input.
// This pin is configured as an analog input in the port initialization
// routine. The negative ADC0 input is connected via mux to ground, which
// provides for a single-ended ADC input.)
相关搜索: EFM8BB2_ADC
(系统自动生成,下载前可以参看下载内容)
下载文件列表
EFM8BB2_ADC.c
InitDevice.c
Interrupts.c
InitDevice.c
Interrupts.c
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
