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