Struct stm32_metapac::dac::regs::Stmodr
#[repr(transparent)]pub struct Stmodr(pub u32);
Expand description
sawtooth mode register
Tuple Fields§
§0: u32
Implementations§
§impl Stmodr
impl Stmodr
pub const fn strsttrigsel(&self, n: usize) -> u8
pub const fn strsttrigsel(&self, n: usize) -> u8
channel sawtooth reset trigger selection
pub fn set_strsttrigsel(&mut self, n: usize, val: u8)
pub fn set_strsttrigsel(&mut self, n: usize, val: u8)
channel sawtooth reset trigger selection
pub const fn stinctrigsel(&self, n: usize) -> u8
pub const fn stinctrigsel(&self, n: usize) -> u8
channel sawtooth increment trigger selection
pub fn set_stinctrigsel(&mut self, n: usize, val: u8)
pub fn set_stinctrigsel(&mut self, n: usize, val: u8)
channel sawtooth increment trigger selection
Trait Implementations§
impl Copy for Stmodr
impl Eq for Stmodr
impl StructuralPartialEq for Stmodr
Auto Trait Implementations§
impl Freeze for Stmodr
impl RefUnwindSafe for Stmodr
impl Send for Stmodr
impl Sync for Stmodr
impl Unpin for Stmodr
impl UnwindSafe for Stmodr
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
)