Struct stm32_metapac::adc::regs::Sqr2
#[repr(transparent)]pub struct Sqr2(pub u32);
Expand description
regular sequence register 2
Tuple Fields§
§0: u32
Implementations§
§impl Sqr2
impl Sqr2
pub const fn sq(&self, n: usize) -> u8
pub const fn sq(&self, n: usize) -> u8
5th-9th conversions in regular sequence These bits are written by software with the channel number (0 to 19) assigned as the 5th-9th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
pub fn set_sq(&mut self, n: usize, val: u8)
pub fn set_sq(&mut self, n: usize, val: u8)
5th-9th conversions in regular sequence These bits are written by software with the channel number (0 to 19) assigned as the 5th-9th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
Trait Implementations§
impl Copy for Sqr2
impl Eq for Sqr2
impl StructuralPartialEq for Sqr2
Auto Trait Implementations§
impl Freeze for Sqr2
impl RefUnwindSafe for Sqr2
impl Send for Sqr2
impl Sync for Sqr2
impl Unpin for Sqr2
impl UnwindSafe for Sqr2
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
)