Struct stm32_metapac::adc::regs::Adc4Cr
#[repr(transparent)]pub struct Adc4Cr(pub u32);
Expand description
ADC control register.
Tuple Fields§
§0: u32
Implementations§
§impl Adc4Cr
impl Adc4Cr
pub fn set_adstart(&mut self, val: bool)
pub fn set_adstart(&mut self, val: bool)
ADSTART.
pub fn set_advregen(&mut self, val: bool)
pub fn set_advregen(&mut self, val: bool)
ADVREGEN.
Trait Implementations§
impl Copy for Adc4Cr
impl Eq for Adc4Cr
impl StructuralPartialEq for Adc4Cr
Auto Trait Implementations§
impl Freeze for Adc4Cr
impl RefUnwindSafe for Adc4Cr
impl Send for Adc4Cr
impl Sync for Adc4Cr
impl Unpin for Adc4Cr
impl UnwindSafe for Adc4Cr
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
)