[−][src]Struct nrf52832_hal::pac::comp::refsel::REFSEL_W
Write proxy for field REFSEL
Implementations
impl<'a> REFSEL_W<'a>
[src]
pub fn variant(self, variant: REFSEL_A) -> &'a mut W<u32, Reg<u32, _REFSEL>>
[src]
Writes variant
to the field
pub fn int1v2(self) -> &'a mut W<u32, Reg<u32, _REFSEL>>
[src]
VREF = internal 1.2 V reference (VDD >= 1.7 V)
pub fn int1v8(self) -> &'a mut W<u32, Reg<u32, _REFSEL>>
[src]
VREF = internal 1.8 V reference (VDD >= VREF + 0.2 V)
pub fn int2v4(self) -> &'a mut W<u32, Reg<u32, _REFSEL>>
[src]
VREF = internal 2.4 V reference (VDD >= VREF + 0.2 V)
pub fn vdd(self) -> &'a mut W<u32, Reg<u32, _REFSEL>>
[src]
VREF = VDD
pub fn aref(self) -> &'a mut W<u32, Reg<u32, _REFSEL>>
[src]
VREF = AREF (VDD >= VREF >= AREFMIN)
pub unsafe fn bits(self, value: u8) -> &'a mut W<u32, Reg<u32, _REFSEL>>
[src]
Writes raw bits to the field
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,