Struct stm32_hal2::dac::DacConfig
source · pub struct DacConfig {
pub mode: DacMode,
pub bits: DacBits,
}
Fields§
§mode: DacMode
Mode: Ie buffer enabled or not, and connected to internal, external, or both. Defaults to external only, buffer enabled.
bits: DacBits
Output bit depth and alignment. Defaults to 12 bits, right-aligned.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DacConfig
impl Send for DacConfig
impl Sync for DacConfig
impl Unpin for DacConfig
impl UnwindSafe for DacConfig
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