Struct stm32f4xx_hal::pac::TIM6
source · [−]pub struct TIM6 { /* private fields */ }
Expand description
Basic timers
Implementations
sourceimpl TIM6
impl TIM6
sourcepub const PTR: *const RegisterBlock = {0x40001000 as *const stm32f4::stm32f429::tim6::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40001000 as *const stm32f4::stm32f429::tim6::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl LPEnable for TIM6
impl LPEnable for TIM6
fn low_power_enable(rcc: &RccRB)
fn low_power_disable(rcc: &RccRB)
impl Instance for TIM6
impl Send for TIM6
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<TIM> TimerExt for TIM where
TIM: Instance,
impl<TIM> TimerExt for TIM where
TIM: Instance,
sourcefn 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
sourcefn 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 units
sourcefn 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