Struct stm32_metapac::adc::regs::Adc4Ccr
#[repr(transparent)]pub struct Adc4Ccr(pub u32);
Expand description
ADC common configuration register.
Tuple Fields§
§0: u32
Implementations§
§impl Adc4Ccr
impl Adc4Ccr
pub fn set_vrefen(&mut self, val: bool)
pub fn set_vrefen(&mut self, val: bool)
VREFEN.
pub fn set_vsensesel(&mut self, val: bool)
pub fn set_vsensesel(&mut self, val: bool)
VSENSESEL.
pub fn set_vbaten(&mut self, val: bool)
pub fn set_vbaten(&mut self, val: bool)
VBATEN.
Trait Implementations§
impl Copy for Adc4Ccr
impl Eq for Adc4Ccr
impl StructuralPartialEq for Adc4Ccr
Auto Trait Implementations§
impl Freeze for Adc4Ccr
impl RefUnwindSafe for Adc4Ccr
impl Send for Adc4Ccr
impl Sync for Adc4Ccr
impl Unpin for Adc4Ccr
impl UnwindSafe for Adc4Ccr
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
)