pub struct TimBaseConfig {
pub prescaler: u16,
pub counter_mode: CounterMode,
pub period: u16,
pub clock_division: ClockDivision,
pub repetition_counter: u16,
pub psc_reload_mode: PSCReloadMode,
}Fields§
§prescaler: u16§counter_mode: CounterMode§period: u16§clock_division: ClockDivision§repetition_counter: u16§psc_reload_mode: PSCReloadModeTrait Implementations§
Source§impl Clone for TimBaseConfig
impl Clone for TimBaseConfig
Source§fn clone(&self) -> TimBaseConfig
fn clone(&self) -> TimBaseConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimBaseConfig
Source§impl Debug for TimBaseConfig
impl Debug for TimBaseConfig
impl Eq for TimBaseConfig
Source§impl PartialEq for TimBaseConfig
impl PartialEq for TimBaseConfig
Source§fn eq(&self, other: &TimBaseConfig) -> bool
fn eq(&self, other: &TimBaseConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimBaseConfig
Auto Trait Implementations§
impl Freeze for TimBaseConfig
impl RefUnwindSafe for TimBaseConfig
impl Send for TimBaseConfig
impl Sync for TimBaseConfig
impl Unpin for TimBaseConfig
impl UnsafeUnpin for TimBaseConfig
impl UnwindSafe for TimBaseConfig
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