pub struct CaptureHzManager<TIM>where
TIM: Instance + WithCapture,{ /* private fields */ }
Implementations§
Source§impl<TIM> CaptureHzManager<TIM>where
TIM: Instance + WithCapture + Split,
impl<TIM> CaptureHzManager<TIM>where
TIM: Instance + WithCapture + Split,
Source§impl<TIM> CaptureHzManager<TIM>where
TIM: Instance + WithCapture,
impl<TIM> CaptureHzManager<TIM>where
TIM: Instance + WithCapture,
Sourcepub fn get_timer_clock(&self) -> u32
pub fn get_timer_clock(&self) -> u32
Get the PWM frequency of the timer in Hertz
Sourcepub fn set_timer_clock(&mut self, freq: Hertz)
pub fn set_timer_clock(&mut self, freq: Hertz)
Set the frequency of the timer counter increment
pub fn get_max_auto_reload(&mut self) -> u32
Methods from Deref<Target = Timer<TIM>>§
pub fn configure(&mut self, clocks: &Clocks)
pub fn set_master_mode(&mut self, mode: TIM::Mms)
Trait Implementations§
Source§impl<TIM> Deref for CaptureHzManager<TIM>where
TIM: Instance + WithCapture,
impl<TIM> Deref for CaptureHzManager<TIM>where
TIM: Instance + WithCapture,
Auto Trait Implementations§
impl<TIM> Freeze for CaptureHzManager<TIM>where
TIM: Freeze,
impl<TIM> RefUnwindSafe for CaptureHzManager<TIM>where
TIM: RefUnwindSafe,
impl<TIM> Send for CaptureHzManager<TIM>where
TIM: Send,
impl<TIM> Sync for CaptureHzManager<TIM>where
TIM: Sync,
impl<TIM> Unpin for CaptureHzManager<TIM>where
TIM: Unpin,
impl<TIM> UnwindSafe for CaptureHzManager<TIM>where
TIM: UnwindSafe,
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