Struct TIM14
pub struct TIM14 { /* private fields */ }
Expand description
General purpose timers
Implementations§
§impl TIM14
impl TIM14
pub const PTR: *const RegisterBlock = {0x40002000 as *const stm32h7xx_hal::stm32::tim13::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40002000 as *const stm32h7xx_hal::stm32::tim13::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§
§impl PwmExt for TIM14
impl PwmExt for TIM14
type Rec = Tim14
§fn pwm<PINS, U, V>(
self,
pins: PINS,
frequency: Rate<u32, 1, 1>,
prec: Tim14,
clocks: &CoreClocks,
) -> <PINS as Pins<TIM14, U, V>>::Channelwhere
PINS: Pins<TIM14, U, V>,
fn pwm<PINS, U, V>(
self,
pins: PINS,
frequency: Rate<u32, 1, 1>,
prec: Tim14,
clocks: &CoreClocks,
) -> <PINS as Pins<TIM14, U, V>>::Channelwhere
PINS: Pins<TIM14, U, V>,
The requested frequency will be rounded to the nearest achievable frequency; the actual frequency may be higher or lower than requested.
§impl TimerExt<Timer<TIM14>> for TIM14
impl TimerExt<Timer<TIM14>> for TIM14
impl Send for TIM14
Auto Trait Implementations§
impl Freeze for TIM14
impl RefUnwindSafe for TIM14
impl !Sync for TIM14
impl Unpin for TIM14
impl UnwindSafe for TIM14
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