Struct esp32_hal::mcpwm::timer::TimerClockConfig
source · pub struct TimerClockConfig<'a> { /* private fields */ }
Expand description
Clock configuration of a MCPWM timer
Use PeripheralClockConfig::timer_clock_with_prescaler
or
PeripheralClockConfig::timer_clock_with_frequency
to it.
Implementations§
Trait Implementations§
source§impl<'a> Clone for TimerClockConfig<'a>
impl<'a> Clone for TimerClockConfig<'a>
source§fn clone(&self) -> TimerClockConfig<'a>
fn clone(&self) -> TimerClockConfig<'a>
Returns a copy 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 moreimpl<'a> Copy for TimerClockConfig<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TimerClockConfig<'a>
impl<'a> Send for TimerClockConfig<'a>
impl<'a> Sync for TimerClockConfig<'a>
impl<'a> Unpin for TimerClockConfig<'a>
impl<'a> UnwindSafe for TimerClockConfig<'a>
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