Struct stm32_metapac::adc::regs::Sqr3
#[repr(transparent)]pub struct Sqr3(pub u32);
Expand description
regular sequence register 3
Tuple Fields§
§0: u32
Implementations§
§impl Sqr3
impl Sqr3
pub const fn sq(&self, n: usize) -> u8
pub const fn sq(&self, n: usize) -> u8
10th-14th conversions in regular sequence These bits are written by software with the channel number (0 to 19) assigned as the 10th-14th 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)
10th-14th conversions in regular sequence These bits are written by software with the channel number (0 to 19) assigned as the 10th-14th 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 Sqr3
impl Eq for Sqr3
impl StructuralPartialEq for Sqr3
Auto Trait Implementations§
impl Freeze for Sqr3
impl RefUnwindSafe for Sqr3
impl Send for Sqr3
impl Sync for Sqr3
impl Unpin for Sqr3
impl UnwindSafe for Sqr3
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
)