Struct stm32_metapac::adc::regs::Pwrr
#[repr(transparent)]pub struct Pwrr(pub u32);
Expand description
ADC data register.
Tuple Fields§
§0: u32
Implementations§
§impl Pwrr
impl Pwrr
pub fn set_autoff(&mut self, val: bool)
pub fn set_autoff(&mut self, val: bool)
AUTOFF.
pub fn set_vrefprot(&mut self, val: bool)
pub fn set_vrefprot(&mut self, val: bool)
VREFPROT.
pub const fn vrefsecsmp(&self) -> bool
pub const fn vrefsecsmp(&self) -> bool
VREFSECSMP.
pub fn set_vrefsecsmp(&mut self, val: bool)
pub fn set_vrefsecsmp(&mut self, val: bool)
VREFSECSMP.
Trait Implementations§
impl Copy for Pwrr
impl Eq for Pwrr
impl StructuralPartialEq for Pwrr
Auto Trait Implementations§
impl Freeze for Pwrr
impl RefUnwindSafe for Pwrr
impl Send for Pwrr
impl Sync for Pwrr
impl Unpin for Pwrr
impl UnwindSafe for Pwrr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)