Class AdcConfiguration
- Namespace
- nanoFramework.GiantGecko.Adc
- Assembly
- nanoFramework.GiantGecko.Adc.dll
ADC global configuration, common for single conversion and scan sequence.
public class AdcConfiguration
- Inheritance
-
AdcConfiguration
- Inherited Members
- Extension Methods
Constructors
AdcConfiguration()
public AdcConfiguration()
Properties
LowpassFilterMode
Low-pass or decoupling capacitor filter.
public LowpassFilterMode LowpassFilterMode { get; set; }
Property Value
OversampleRate
Oversampling rate select.
public OversampleRate OversampleRate { get; set; }
Property Value
Remarks
To have any effect, oversampling must be enabled for single/scan mode when the channel was opened/configred via SampleResolution.
Prescale
Clock division factor N, ADC clock = (HFPERCLK or HFPERCCLK) / (N + 1).
public uint Prescale { get; set; }
Property Value
Tailgating
Enable/disable conversion tailgating.
public bool Tailgating { get; set; }
Property Value
WarmUpMode
ADC Warm-up mode.
public WarmUpMode WarmUpMode { get; set; }
Property Value
WarnupTimeBase
Timebase for ADC warm up.
public uint WarnupTimeBase { get; set; }
Property Value
Remarks
Select N to give (N+1) HFPERCLK / HFPERCCLK cycles. (Additional delay is added for bandgap references. See the reference manual for more information.) Normally, N should be selected so that the timebase is at least 1us. See ADC_TimebaseCalc() to obtain a suggested timebase of, at least, 1 us.