pub struct DitheringConfig {
pub enabled: bool,
pub arr_dither: u8,
}Expand description
Dithering configuration for timer_v2-capable timers.
Fields§
§enabled: boolEnable/disable hardware dithering mode.
arr_dither: u8Fractional ARR nibble (ARR_DITHER.DITHER).
Trait Implementations§
Source§impl Clone for DitheringConfig
impl Clone for DitheringConfig
Source§fn clone(&self) -> DitheringConfig
fn clone(&self) -> DitheringConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DitheringConfig
impl Debug for DitheringConfig
Source§impl Default for DitheringConfig
Available on timer_v2 only.
impl Default for DitheringConfig
Available on
timer_v2 only.Source§impl Format for DitheringConfig
impl Format for DitheringConfig
Source§impl PartialEq for DitheringConfig
impl PartialEq for DitheringConfig
impl Copy for DitheringConfig
impl Eq for DitheringConfig
impl StructuralPartialEq for DitheringConfig
Auto Trait Implementations§
impl Freeze for DitheringConfig
impl RefUnwindSafe for DitheringConfig
impl Send for DitheringConfig
impl Sync for DitheringConfig
impl Unpin for DitheringConfig
impl UnwindSafe for DitheringConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.