Struct atsamd_hal::timer_params::TimerParams
source · [−]Expand description
Helper type for computing cycles and divider given frequency
Fields
divider: u16
cycles: u32
Implementations
sourceimpl TimerParams
impl TimerParams
Trait Implementations
sourceimpl Clone for TimerParams
impl Clone for TimerParams
sourcefn clone(&self) -> TimerParams
fn clone(&self) -> TimerParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TimerParams
impl Debug for TimerParams
impl Copy for TimerParams
Auto Trait Implementations
impl RefUnwindSafe for TimerParams
impl Send for TimerParams
impl Sync for TimerParams
impl Unpin for TimerParams
impl UnwindSafe for TimerParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more