Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Embeded-SCM Develop
Title: EFM8BB2_ADC Download
 Description: 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.
 Downloaders recently: [More information of uploader jason ]
 To Search:
File list (Check if you may need any files):
EFM8BB2_ADC.c
InitDevice.c
Interrupts.c

CodeBus www.codebus.net