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