Trait stm32h7xx_hal::pwm::PwmExt [−][src]
Allows the pwm() method to be added to the peripheral register structs from the device crate
Associated Types
type Rec: ResetEnable
[src]
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]
self,
_pins: PINS,
frequency: T,
prec: Self::Rec,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
Implementors
impl PwmExt for LPTIM1
[src]
type Rec = Lptim1
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Lptim1,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Lptim1,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for LPTIM2
[src]
type Rec = Lptim2
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Lptim2,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Lptim2,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for LPTIM3
[src]
type Rec = Lptim3
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Lptim3,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Lptim3,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for LPTIM4
[src]
type Rec = Lptim4
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Lptim4,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Lptim4,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for LPTIM5
[src]
type Rec = Lptim5
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Lptim5,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Lptim5,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for TIM1
[src]
type Rec = Tim1
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Tim1,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Tim1,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for TIM2
[src]
type Rec = Tim2
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Tim2,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Tim2,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for TIM3
[src]
type Rec = Tim3
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Tim3,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Tim3,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for TIM4
[src]
type Rec = Tim4
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Tim4,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Tim4,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for TIM5
[src]
type Rec = Tim5
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Tim5,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Tim5,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for TIM8
[src]
type Rec = Tim8
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Tim8,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Tim8,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for TIM12
[src]
type Rec = Tim12
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Tim12,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Tim12,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for TIM13
[src]
type Rec = Tim13
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Tim13,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Tim13,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for TIM14
[src]
type Rec = Tim14
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Tim14,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Tim14,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for TIM15
[src]
type Rec = Tim15
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Tim15,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Tim15,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
impl PwmExt for TIM16
[src]
type Rec = Tim16
fn pwm<PINS, T, U>(
self,
pins: PINS,
frequency: T,
prec: Tim16,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
frequency: T,
prec: Tim16,
clocks: &CoreClocks
) -> PINS::Channel where
PINS: Pins<Self, U>,
T: Into<Hertz>,