Struct TIM17
pub struct TIM17 { /* private fields */ }
Expand description
General-purpose-timers
Implementations§
§impl TIM17
impl TIM17
pub const PTR: *const RegisterBlock = {0x40014800 as *const stm32h7xx_hal::stm32::tim17::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40014800 as *const stm32h7xx_hal::stm32::tim17::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 (output mode)
Trait Implementations§
§impl PwmExt for TIM17
impl PwmExt for TIM17
type Rec = Tim17
§fn pwm<PINS, U, V>(
self,
pins: PINS,
frequency: Rate<u32, 1, 1>,
prec: Tim17,
clocks: &CoreClocks,
) -> <PINS as Pins<TIM17, U, V>>::Channelwhere
PINS: Pins<TIM17, U, V>,
fn pwm<PINS, U, V>(
self,
pins: PINS,
frequency: Rate<u32, 1, 1>,
prec: Tim17,
clocks: &CoreClocks,
) -> <PINS as Pins<TIM17, U, V>>::Channelwhere
PINS: Pins<TIM17, 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<TIM17>> for TIM17
impl TimerExt<Timer<TIM17>> 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