#[repr(transparent)]pub struct Dcr(pub u32);Expand description
DAC Control
Tuple Fields§
§0: u32Implementations§
Source§impl Dcr
impl Dcr
Sourcepub const fn set_dac_en(&mut self, val: bool)
pub const fn set_dac_en(&mut self, val: bool)
DAC Enable
Sourcepub const fn set_dac_hpmd(&mut self, val: bool)
pub const fn set_dac_hpmd(&mut self, val: bool)
DAC High Power Mode
Sourcepub const fn set_dac_data(&mut self, val: u8)
pub const fn set_dac_data(&mut self, val: u8)
DAC Output Voltage Select
Trait Implementations§
impl Copy for Dcr
impl Eq for Dcr
impl StructuralPartialEq for Dcr
Auto Trait Implementations§
impl Freeze for Dcr
impl RefUnwindSafe for Dcr
impl Send for Dcr
impl Sync for Dcr
impl Unpin for Dcr
impl UnwindSafe for Dcr
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