#[repr(transparent)]pub struct Comp12(pub u16);Expand description
Timer Channel Compare Register 1
Tuple Fields§
§0: u16Implementations§
Source§impl Comp12
impl Comp12
Sourcepub const fn comparison_1(&self) -> u16
pub const fn comparison_1(&self) -> u16
Comparison Value 1
Sourcepub const fn set_comparison_1(&mut self, val: u16)
pub const fn set_comparison_1(&mut self, val: u16)
Comparison Value 1
Trait Implementations§
impl Copy for Comp12
impl Eq for Comp12
impl StructuralPartialEq for Comp12
Auto Trait Implementations§
impl Freeze for Comp12
impl RefUnwindSafe for Comp12
impl Send for Comp12
impl Sync for Comp12
impl Unpin for Comp12
impl UnwindSafe for Comp12
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