Struct stm32h7xx_hal::stm32::TIM5
source · pub struct TIM5 { /* 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)
sourcepub fn ccmr2_input(&self) -> &Reg<CCMR2_INPUT_SPEC>
pub fn ccmr2_input(&self) -> &Reg<CCMR2_INPUT_SPEC>
0x1c - capture/compare mode register 2 (input mode)
sourcepub fn ccmr2_output(&self) -> &Reg<CCMR2_OUTPUT_SPEC>
pub fn ccmr2_output(&self) -> &Reg<CCMR2_OUTPUT_SPEC>
0x1c - capture/compare mode register 2 (output mode)
Trait Implementations§
source§impl PwmAdvExt<u32> for TIM5
impl PwmAdvExt<u32> for TIM5
type Rec = Tim5
fn pwm_advanced<PINS, CHANNEL, COMP>(
self,
_pins: PINS,
prec: Self::Rec,
clocks: &CoreClocks
) -> PwmBuilder<Self, PINS, CHANNEL, FaultDisabled, COMP, u32>where
PINS: Pins<Self, CHANNEL, COMP>,
source§impl TimerExt<Timer<TIM5>> for TIM5
impl TimerExt<Timer<TIM5>> for TIM5
type Rec = Tim5
source§fn timer(
self,
timeout: Hertz,
prec: Self::Rec,
clocks: &CoreClocks
) -> Timer<TIM5>
fn timer( self, timeout: Hertz, prec: Self::Rec, clocks: &CoreClocks ) -> Timer<TIM5>
Configures a periodic timer Read more
source§fn tick_timer(
self,
frequency: Hertz,
prec: Self::Rec,
clocks: &CoreClocks
) -> Timer<TIM5>
fn tick_timer( self, frequency: Hertz, prec: Self::Rec, clocks: &CoreClocks ) -> Timer<TIM5>
Configures the timer to count up at the given frequency Read more
impl PinCh1<TIM5> for PA0<Alternate<2>>
impl PinCh1<TIM5> for PH10<Alternate<2>>
impl PinCh2<TIM5> for PA1<Alternate<2>>
impl PinCh2<TIM5> for PH11<Alternate<2>>
impl Send for TIM5
Auto Trait Implementations§
impl Freeze for TIM5
impl RefUnwindSafe for TIM5
impl !Sync for TIM5
impl Unpin for TIM5
impl UnwindSafe for TIM5
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