Enum stm32_hal2::dac::DacBits
source · [−]pub enum DacBits {
EightR,
TwelveL,
TwelveR,
}
Expand description
Three options are available to set DAC precision. Sets the DHR8R1 etc register contents.
Variants
EightR
Eight bit precision, right-aligned.
TwelveL
12-bit precision, left-aligned.
TwelveR
12-bit precision, right-aligned.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DacBits
impl Send for DacBits
impl Sync for DacBits
impl Unpin for DacBits
impl UnwindSafe for DacBits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more