pub struct LPTIM5 { /* private fields */ }
Expand description
Low power timer
Implementations§
§impl LPTIM5
impl LPTIM5
pub const PTR: *const RegisterBlock = {0x58003000 as *const stm32h7xx_hal::stm32::lptim3::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x58003000 as *const stm32h7xx_hal::stm32::lptim3::RegisterBlock}
Pointer to the register block
pub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations§
§impl PwmExt for LPTIM5
impl PwmExt for LPTIM5
type Rec = Lptim5
§fn pwm<PINS, U, V>(
self,
pins: PINS,
frequency: Rate<u32, 1, 1>,
prec: Lptim5,
clocks: &CoreClocks
) -> <PINS as Pins<LPTIM5, U, V>>::Channelwhere
PINS: Pins<LPTIM5, U, V>,
fn pwm<PINS, U, V>(
self,
pins: PINS,
frequency: Rate<u32, 1, 1>,
prec: Lptim5,
clocks: &CoreClocks
) -> <PINS as Pins<LPTIM5, U, V>>::Channelwhere
PINS: Pins<LPTIM5, U, V>,
The requested frequency will be rounded to the nearest achievable frequency; the actual frequency may be higher or lower than requested.
§impl TimerExt<LpTimer<LPTIM5, Enabled>> for LPTIM5
impl TimerExt<LpTimer<LPTIM5, Enabled>> for LPTIM5
impl Send for LPTIM5
Auto Trait Implementations§
impl Freeze for LPTIM5
impl RefUnwindSafe for LPTIM5
impl !Sync for LPTIM5
impl Unpin for LPTIM5
impl UnwindSafe for LPTIM5
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