Struct stm32wlxx_hal::pac::TIM1
pub struct TIM1 { /* private fields */ }
Available on crate feature
stm32wl5x_cm4
only.Expand description
Advanced-control timers
Implementations§
§impl TIM1
impl TIM1
pub const PTR: *const RegisterBlock = {0x40012c00 as *const stm32wl::stm32wl5x_cm4::tim1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40012c00 as *const stm32wl::stm32wl5x_cm4::tim1::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
Methods from Deref<Target = RegisterBlock>§
pub 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)
pub 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)
pub 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)
pub 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§
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