pub struct TIM17 { /* private fields */ }
Expand description
General purpose timer
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 TIM17
impl Enable for TIM17
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 TIM17
impl InterruptNumber for TIM17
impl CommonRegisterBlock for TIM17
impl Instance for TIM17
impl Send for TIM17
Auto Trait Implementations§
impl Freeze for TIM17
impl RefUnwindSafe for TIM17
impl !Sync for TIM17
impl Unpin for TIM17
impl UnwindSafe for TIM17
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 T
impl<T> BusTimerClock for T
Source§fn timer_clock(clocks: &Clocks) -> Hertz
fn timer_clock(clocks: &Clocks) -> Hertz
Calculates base frequency of timer depending on
Clock
state