#[repr(transparent)]pub struct Timer2captsel(pub u32);Expand description
Capture select registers for TIMER2 inputs
Tuple Fields§
§0: u32Implementations§
Source§impl Timer2captsel
impl Timer2captsel
Sourcepub const fn captsel(&self) -> Timer2captselCaptsel
pub const fn captsel(&self) -> Timer2captselCaptsel
Input number to TIMER2 capture inputs 0 to 4
Sourcepub const fn set_captsel(&mut self, val: Timer2captselCaptsel)
pub const fn set_captsel(&mut self, val: Timer2captselCaptsel)
Input number to TIMER2 capture inputs 0 to 4
Trait Implementations§
Source§impl Clone for Timer2captsel
impl Clone for Timer2captsel
Source§fn clone(&self) -> Timer2captsel
fn clone(&self) -> Timer2captsel
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 Timer2captsel
impl Debug for Timer2captsel
Source§impl Default for Timer2captsel
impl Default for Timer2captsel
Source§fn default() -> Timer2captsel
fn default() -> Timer2captsel
Returns the “default value” for a type. Read more
Source§impl PartialEq for Timer2captsel
impl PartialEq for Timer2captsel
impl Copy for Timer2captsel
impl Eq for Timer2captsel
impl StructuralPartialEq for Timer2captsel
Auto Trait Implementations§
impl Freeze for Timer2captsel
impl RefUnwindSafe for Timer2captsel
impl Send for Timer2captsel
impl Sync for Timer2captsel
impl Unpin for Timer2captsel
impl UnwindSafe for Timer2captsel
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