Struct stm32_metapac::dac::Dac
pub struct Dac { /* private fields */ }
Expand description
Digital-to-analog converter
Implementations§
§impl Dac
impl Dac
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn dhr12r(self, n: usize) -> Reg<Dhr12r, RW>
pub const fn dhr12r(self, n: usize) -> Reg<Dhr12r, RW>
channel 12-bit right-aligned data holding register
pub const fn dhr12l(self, n: usize) -> Reg<Dhr12l, RW>
pub const fn dhr12l(self, n: usize) -> Reg<Dhr12l, RW>
channel 12-bit left-aligned data holding register
Trait Implementations§
impl Copy for Dac
impl Eq for Dac
impl Send for Dac
impl StructuralEq for Dac
impl StructuralPartialEq for Dac
impl Sync for Dac
Auto Trait Implementations§
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