pub type REF_W<'a, const O: u8> = FieldWriterSafe<'a, u32, SINGLECTRL_SPEC, u8, REF_A, 3, O>;
Expand description

Field REF writer - Single Channel Reference Selection

Implementations§

source§

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

source

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

VFS = 1.25V with internal VBGR reference

source

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

VFS = 2.5V with internal VBGR reference

source

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

VFS = AVDD with AVDD as reference source

source

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

VFS = 5V with internal VBGR reference

source

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

Single ended external reference

source

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

Differential external reference, 2x

source

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

VFS = 2xAVDD with AVDD as the reference source

source

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

Use SINGLECTRLX to configure reference