Struct Cr
#[repr(transparent)]pub struct Cr(pub u32);Expand description
control register
Tuple Fields§
§0: u32Implementations§
§impl Cr
impl Cr
pub const fn boff(&self) -> bool
pub const fn boff(&self) -> bool
DAC1: channel1 output buffer disable (BOFF1; 0: buffer enabled, 1: buffer disabled). DAC2: this bit is OUTEN1, channel1 output switch enable (0: DAC2_OUT1 disconnected from the pin, 1: connected)
pub const fn set_boff(&mut self, val: bool)
pub const fn set_boff(&mut self, val: bool)
DAC1: channel1 output buffer disable (BOFF1; 0: buffer enabled, 1: buffer disabled). DAC2: this bit is OUTEN1, channel1 output switch enable (0: DAC2_OUT1 disconnected from the pin, 1: connected)
pub const fn set_dmaudrie(&mut self, n: usize, val: bool)
pub const fn set_dmaudrie(&mut self, n: usize, val: bool)
channel DMA Underrun Interrupt enable
Trait Implementations§
impl Copy for Cr
impl Eq for Cr
impl StructuralPartialEq for Cr
Auto Trait Implementations§
impl Freeze for Cr
impl RefUnwindSafe for Cr
impl Send for Cr
impl Sync for Cr
impl Unpin for Cr
impl UnsafeUnpin for Cr
impl UnwindSafe for Cr
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