pub struct TIM10 { /* private fields */ }
Expand description
General-purpose-timers
Implementations§
Methods from Deref<Target = RegisterBlock>§
sourcepub fn ccmr1_input(&self) -> &Reg<CCMR1_INPUT_SPEC>
pub fn ccmr1_input(&self) -> &Reg<CCMR1_INPUT_SPEC>
0x18 - capture/compare mode register 1 (input mode)
sourcepub fn ccmr1_output(&self) -> &Reg<CCMR1_OUTPUT_SPEC>
pub fn ccmr1_output(&self) -> &Reg<CCMR1_OUTPUT_SPEC>
0x18 - capture/compare mode register 1 (output mode)
Trait Implementations§
source§impl Enable for TIM10
impl Enable for TIM10
fn enable(rcc: &RegisterBlock)
fn disable(rcc: &RegisterBlock)
source§impl LPEnable for TIM10
impl LPEnable for TIM10
fn low_power_enable(rcc: &RegisterBlock)
fn low_power_disable(rcc: &RegisterBlock)
impl Instance for TIM10
impl Send for TIM10
Auto Trait Implementations§
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
source§impl<T> BusTimerClock for Twhere
T: RccBus,
<T as RccBus>::Bus: BusTimerClock,
impl<T> BusTimerClock for Twhere T: RccBus, <T as RccBus>::Bus: BusTimerClock,
source§fn timer_clock(clocks: &Clocks) -> Rate<u32, 1, 1>
fn timer_clock(clocks: &Clocks) -> Rate<u32, 1, 1>
Calculates base frequency of timer depending on
Clock
statesource§impl<TIM> PwmExt for TIMwhere
TIM: Instance + WithPwm,
impl<TIM> PwmExt for TIMwhere TIM: Instance + WithPwm,
fn pwm<P, PINS, const FREQ: u32>( self, pins: PINS, time: Duration<u32, 1, FREQ>, clocks: &Clocks ) -> Pwm<TIM, P, PINS, FREQ>where PINS: Pins<TIM, P>,
fn pwm_hz<P, PINS>( self, pins: PINS, time: Rate<u32, 1, 1>, clocks: &Clocks ) -> PwmHz<TIM, P, PINS>where PINS: Pins<TIM, P>,
fn pwm_us<P, PINS>( self, pins: PINS, time: Duration<u32, 1, 1000000>, clocks: &Clocks ) -> Pwm<Self, P, PINS, 1000000>where PINS: Pins<Self, P>,
source§impl<TIM> TimerExt for TIMwhere
TIM: Instance,
impl<TIM> TimerExt for TIMwhere TIM: Instance,
source§fn counter<const FREQ: u32>(self, clocks: &Clocks) -> Counter<TIM, FREQ>
fn counter<const FREQ: u32>(self, clocks: &Clocks) -> Counter<TIM, FREQ>
Non-blocking Counter with custom fixed precision
source§fn counter_hz(self, clocks: &Clocks) -> CounterHz<TIM>
fn counter_hz(self, clocks: &Clocks) -> CounterHz<TIM>
Non-blocking Counter with dynamic precision which uses
Hertz
as Duration unitssource§fn delay<const FREQ: u32>(self, clocks: &Clocks) -> Delay<TIM, FREQ>
fn delay<const FREQ: u32>(self, clocks: &Clocks) -> Delay<TIM, FREQ>
Blocking Delay with custom fixed precision