Struct stm32_metapac::adc::regs::Difsel
#[repr(transparent)]pub struct Difsel(pub u32);
Expand description
Differential Mode Selection Register 2
Tuple Fields§
§0: u32
Implementations§
§impl Difsel
impl Difsel
pub const fn difsel_1_15(&self) -> u16
pub const fn difsel_1_15(&self) -> u16
Differential mode for channels 15 to 1
pub fn set_difsel_1_15(&mut self, val: u16)
pub fn set_difsel_1_15(&mut self, val: u16)
Differential mode for channels 15 to 1
pub const fn difsel_16_18(&self) -> u8
pub const fn difsel_16_18(&self) -> u8
Differential mode for channels 18 to 16
pub fn set_difsel_16_18(&mut self, val: u8)
pub fn set_difsel_16_18(&mut self, val: u8)
Differential mode for channels 18 to 16
Trait Implementations§
impl Copy for Difsel
impl Eq for Difsel
impl StructuralPartialEq for Difsel
Auto Trait Implementations§
impl Freeze for Difsel
impl RefUnwindSafe for Difsel
impl Send for Difsel
impl Sync for Difsel
impl Unpin for Difsel
impl UnwindSafe for Difsel
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
)