Struct stm32_metapac::dac::regs::Mcr
#[repr(transparent)]pub struct Mcr(pub u32);
Expand description
mode control register
Tuple Fields§
§0: u32
Implementations§
§impl Mcr
impl Mcr
pub fn set_dmadouble(&mut self, n: usize, val: bool)
pub fn set_dmadouble(&mut self, n: usize, val: bool)
channel DMA double data mode.
pub fn set_sinformat(&mut self, n: usize, val: bool)
pub fn set_sinformat(&mut self, n: usize, val: bool)
enable signed format for DAC channel
Trait Implementations§
impl Copy for Mcr
impl Eq for Mcr
impl StructuralPartialEq for Mcr
Auto Trait Implementations§
impl Freeze for Mcr
impl RefUnwindSafe for Mcr
impl Send for Mcr
impl Sync for Mcr
impl Unpin for Mcr
impl UnwindSafe for Mcr
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
)