Type Alias nrf52840_pac::comp::refsel::REFSEL_W

source ·
pub type REFSEL_W<'a, const O: u8> = FieldWriter<'a, u32, REFSEL_SPEC, u8, REFSEL_A, 3, O>;
Expand description

Field REFSEL writer - Reference select

Aliased Type§

struct REFSEL_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

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

source

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

VREF = internal 1.2 V reference (VDD >= 1.7 V)

source

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

VREF = internal 1.8 V reference (VDD >= VREF + 0.2 V)

source

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

VREF = internal 2.4 V reference (VDD >= VREF + 0.2 V)

source

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

VREF = VDD

source

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

VREF = AREF (VDD >= VREF >= AREFMIN)