Struct stm32f30x::dac::Dhr8r2
[−]
[src]
pub struct Dhr8r2 { /* fields omitted */ }
channel2 8-bit right-aligned data holding register
Methods
impl Dhr8r2
[src]
fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W,
F: FnOnce(&R, &'w mut W) -> &'w mut W,
Modifies the contents of the register
fn read(&self) -> R
Reads the contents of the register
fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
F: FnOnce(&mut W) -> &mut W,
Writes to the register
fn reset(&self)
Writes the reset value to the register