Struct stm32_metapac::adc::regs::Ccr
#[repr(transparent)]pub struct Ccr(pub u32);
Expand description
ADC common control register
Tuple Fields§
§0: u32
Implementations§
§impl Ccr
impl Ccr
pub fn set_adcpre(&mut self, val: u8)
pub fn set_adcpre(&mut self, val: u8)
ADC prescaler
pub fn set_tsvrefe(&mut self, val: bool)
pub fn set_tsvrefe(&mut self, val: bool)
Temperature sensor and VREFINT enable
Trait Implementations§
impl Copy for Ccr
impl Eq for Ccr
impl StructuralPartialEq for Ccr
Auto Trait Implementations§
impl Freeze for Ccr
impl RefUnwindSafe for Ccr
impl Send for Ccr
impl Sync for Ccr
impl Unpin for Ccr
impl UnwindSafe for Ccr
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
)