Struct stm32_metapac::timer::regs::Ccr5DitherAdv
#[repr(transparent)]pub struct Ccr5DitherAdv(pub u32);
Expand description
capture/compare register 5 (Dither mode enabled)
Tuple Fields§
§0: u32
Implementations§
§impl Ccr5DitherAdv
impl Ccr5DitherAdv
pub fn set_dither(&mut self, val: u8)
pub fn set_dither(&mut self, val: u8)
capture/compare x (x=1-4,6) value
Trait Implementations§
§impl Clone for Ccr5DitherAdv
impl Clone for Ccr5DitherAdv
§fn clone(&self) -> Ccr5DitherAdv
fn clone(&self) -> Ccr5DitherAdv
Returns a copy 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 more§impl Default for Ccr5DitherAdv
impl Default for Ccr5DitherAdv
§fn default() -> Ccr5DitherAdv
fn default() -> Ccr5DitherAdv
Returns the “default value” for a type. Read more
§impl PartialEq for Ccr5DitherAdv
impl PartialEq for Ccr5DitherAdv
impl Copy for Ccr5DitherAdv
impl Eq for Ccr5DitherAdv
impl StructuralPartialEq for Ccr5DitherAdv
Auto Trait Implementations§
impl Freeze for Ccr5DitherAdv
impl RefUnwindSafe for Ccr5DitherAdv
impl Send for Ccr5DitherAdv
impl Sync for Ccr5DitherAdv
impl Unpin for Ccr5DitherAdv
impl UnwindSafe for Ccr5DitherAdv
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)