pub struct TIM3 { /* 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 1 (output mode)
Sourcepub fn ccmr2_input(&self) -> &Reg<CCMR2_INPUT_SPEC>
pub fn ccmr2_input(&self) -> &Reg<CCMR2_INPUT_SPEC>
0x1c - capture/compare mode register 2 (input mode)
Sourcepub fn ccmr2_output(&self) -> &Reg<CCMR2_OUTPUT_SPEC>
pub fn ccmr2_output(&self) -> &Reg<CCMR2_OUTPUT_SPEC>
0x1c - capture/compare mode register 2 (output mode)
Trait Implementations§
Source§impl Enable for TIM3
impl Enable for TIM3
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()
Safety Read more
Source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
Source§impl SMEnable for TIM3
impl SMEnable for TIM3
Source§fn sleep_mode_enable(rcc: &mut Rcc)
fn sleep_mode_enable(rcc: &mut Rcc)
Enables peripheral
Source§fn sleep_mode_disable(rcc: &mut Rcc)
fn sleep_mode_disable(rcc: &mut Rcc)
Disables peripheral
Source§fn is_sleep_mode_enabled() -> bool
fn is_sleep_mode_enabled() -> bool
Check if peripheral enabled
Source§fn is_sleep_mode_disabled() -> bool
fn is_sleep_mode_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn sleep_mode_enable_unchecked()
unsafe fn sleep_mode_enable_unchecked()
Safety Read more
Source§unsafe fn sleep_mode_disable_unchecked()
unsafe fn sleep_mode_disable_unchecked()
Safety Read more
impl Send for TIM3
Auto Trait Implementations§
impl Freeze for TIM3
impl RefUnwindSafe for TIM3
impl !Sync for TIM3
impl Unpin for TIM3
impl UnwindSafe for TIM3
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