Struct stm32f3xx_hal::pac::TIM16
source · pub struct TIM16 { /* 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 (output mode)
Trait Implementations§
source§impl Enable for TIM16
impl Enable for TIM16
source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
source§fn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
source§unsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Enables peripheral Read more
source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Disables peripheral Read more
source§impl InterruptNumber for TIM16
impl InterruptNumber for TIM16
impl CommonRegisterBlock for TIM16
impl Instance for TIM16
impl Send for TIM16
Auto Trait Implementations§
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
source§impl<T> BusTimerClock for Twhere
T: RccBus,
<T as RccBus>::Bus: BusTimerClock,
impl<T> BusTimerClock for Twhere T: RccBus, <T as RccBus>::Bus: BusTimerClock,
source§fn timer_clock(clocks: &Clocks) -> Hertz
fn timer_clock(clocks: &Clocks) -> Hertz
Calculates base frequency of timer depending on
Clock
state