Struct stm32_metapac::adccommon::regs::Cdr2
#[repr(transparent)]pub struct Cdr2(pub u32);
Expand description
ADC common regular data register for 32-bit dual mode.
Tuple Fields§
§0: u32
Implementations§
§impl Cdr2
impl Cdr2
pub const fn rdata_alt(&self) -> u32
pub const fn rdata_alt(&self) -> u32
Regular data of the master/slave alternated ADCs In dual mode, these bits alternatively contains the regular 32-bit data of the master and the slave ADC. Refer to . The data alignment is applied as described in (ADC_DR, ADC_JDRy, OFFSETy, OFFSETy_CH, OVSS, LSHIFT, USAT, SSAT).
pub fn set_rdata_alt(&mut self, val: u32)
pub fn set_rdata_alt(&mut self, val: u32)
Regular data of the master/slave alternated ADCs In dual mode, these bits alternatively contains the regular 32-bit data of the master and the slave ADC. Refer to . The data alignment is applied as described in (ADC_DR, ADC_JDRy, OFFSETy, OFFSETy_CH, OVSS, LSHIFT, USAT, SSAT).
Trait Implementations§
impl Copy for Cdr2
impl Eq for Cdr2
impl StructuralPartialEq for Cdr2
Auto Trait Implementations§
impl Freeze for Cdr2
impl RefUnwindSafe for Cdr2
impl Send for Cdr2
impl Sync for Cdr2
impl Unpin for Cdr2
impl UnwindSafe for Cdr2
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
)