Trait stm32h7xx_hal::pwm::PwmExt[][src]

pub trait PwmExt: Sized {
    type Rec: ResetEnable;
    fn pwm<PINS, T, U>(
        self,
        _pins: PINS,
        frequency: T,
        prec: Self::Rec,
        clocks: &CoreClocks
    ) -> PINS::Channel
    where
        PINS: Pins<Self, U>,
        T: Into<Hertz>
; }

Allows the pwm() method to be added to the peripheral register structs from the device crate

Associated Types

Loading content...

Required methods

fn pwm<PINS, T, U>(
    self,
    _pins: PINS,
    frequency: T,
    prec: Self::Rec,
    clocks: &CoreClocks
) -> PINS::Channel where
    PINS: Pins<Self, U>,
    T: Into<Hertz>, 
[src]

Loading content...

Implementors

impl PwmExt for LPTIM1[src]

type Rec = Lptim1

impl PwmExt for LPTIM2[src]

type Rec = Lptim2

impl PwmExt for LPTIM3[src]

type Rec = Lptim3

impl PwmExt for LPTIM4[src]

type Rec = Lptim4

impl PwmExt for LPTIM5[src]

type Rec = Lptim5

impl PwmExt for TIM1[src]

type Rec = Tim1

impl PwmExt for TIM2[src]

type Rec = Tim2

impl PwmExt for TIM3[src]

type Rec = Tim3

impl PwmExt for TIM4[src]

type Rec = Tim4

impl PwmExt for TIM5[src]

type Rec = Tim5

impl PwmExt for TIM8[src]

type Rec = Tim8

impl PwmExt for TIM12[src]

type Rec = Tim12

impl PwmExt for TIM13[src]

type Rec = Tim13

impl PwmExt for TIM14[src]

type Rec = Tim14

impl PwmExt for TIM15[src]

type Rec = Tim15

impl PwmExt for TIM16[src]

type Rec = Tim16

impl PwmExt for TIM17[src]

type Rec = Tim17

Loading content...