pub type VREFSEL_W<'a, const O: u8> = FieldWriter<'a, u32, SCANCTRLX_SPEC, u8, VREFSEL_A, 3, O>;
Expand description

Field VREFSEL writer - Scan Channel Reference Selection

Implementations§

source§

impl<'a, const O: u8> VREFSEL_W<'a, O>

source

pub fn vbgr(self) -> &'a mut W

Internal 0.83V Bandgap reference

source

pub fn vddxwatt(self) -> &'a mut W

Scaled AVDD: AVDD*(the VREF attenuation factor)

source

pub fn vrefpwatt(self) -> &'a mut W

Scaled singled ended external Vref: ADCn_EXTP*(the VREF attenuation factor)

source

pub fn vrefp(self) -> &'a mut W

Raw single ended external Vref: ADCn_EXTP

source

pub fn vrefpnwatt(self) -> &'a mut W

Scaled differential external Vref from : (ADCn_EXTP-ADCn_EXTN)*(the VREF attenuation factor)

source

pub fn vrefpn(self) -> &'a mut W

Raw differential external Vref from : (ADCn_EXTP-ADCn_EXTN)

source

pub fn vbgrlow(self) -> &'a mut W

Internal Bandgap reference at low setting 0.78V