[−][src]Struct stm32f1xx_hal::stm32::TIM3
General purpose timer
Methods
impl TIM3
[src]
pub const fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Methods from Deref<Target = RegisterBlock>
pub fn ccmr1_input(&self) -> &CCMR1_INPUT
[src]
0x18 - capture/compare mode register 1 (input mode)
pub fn ccmr1_input_mut(&self) -> &mut CCMR1_INPUT
[src]
0x18 - capture/compare mode register 1 (input mode)
pub fn ccmr1_output(&self) -> &CCMR1_OUTPUT
[src]
0x18 - capture/compare mode register 1 (output mode)
pub fn ccmr1_output_mut(&self) -> &mut CCMR1_OUTPUT
[src]
0x18 - capture/compare mode register 1 (output mode)
pub fn ccmr2_input(&self) -> &CCMR2_INPUT
[src]
0x1c - capture/compare mode register 2 (input mode)
pub fn ccmr2_input_mut(&self) -> &mut CCMR2_INPUT
[src]
0x1c - capture/compare mode register 2 (input mode)
pub fn ccmr2_output(&self) -> &CCMR2_OUTPUT
[src]
0x1c - capture/compare mode register 2 (output mode)
pub fn ccmr2_output_mut(&self) -> &mut CCMR2_OUTPUT
[src]
0x1c - capture/compare mode register 2 (output mode)
Trait Implementations
impl Deref for TIM3
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &<TIM3 as Deref>::Target
[src]
impl Send for TIM3
[src]
impl Pins<TIM3> for (PA6<Alternate<PushPull>>, PA7<Alternate<PushPull>>, PB0<Alternate<PushPull>>, PB1<Alternate<PushPull>>)
[src]
const REMAP: u8
[src]
const C1: bool
[src]
const C2: bool
[src]
const C3: bool
[src]
const C4: bool
[src]
type Channels = (Pwm<TIM3, C1>, Pwm<TIM3, C2>, Pwm<TIM3, C3>, Pwm<TIM3, C4>)
impl PwmExt for TIM3
[src]
fn pwm<PINS, T>(
self,
_pins: PINS,
mapr: &mut MAPR,
freq: T,
clocks: Clocks,
apb: &mut APB1
) -> PINS::Channels where
PINS: Pins<Self>,
T: Into<Hertz>,
[src]
self,
_pins: PINS,
mapr: &mut MAPR,
freq: T,
clocks: Clocks,
apb: &mut APB1
) -> PINS::Channels where
PINS: Pins<Self>,
T: Into<Hertz>,
impl Pins<TIM3> for (PA6<Input<Floating>>, PA7<Input<Floating>>)
[src]
impl Pins<TIM3> for (PB4<Input<Floating>>, PB5<Input<Floating>>)
[src]
impl PwmInputExt for TIM3
[src]
fn pwm_input<PINS, T>(
self,
pins: PINS,
apb: &mut APB1,
mapr: &mut MAPR,
dbg: &mut DBG,
clocks: &Clocks,
mode: Configuration<T>
) -> PwmInput<Self, PINS> where
PINS: Pins<Self>,
T: Into<Hertz>,
[src]
self,
pins: PINS,
apb: &mut APB1,
mapr: &mut MAPR,
dbg: &mut DBG,
clocks: &Clocks,
mode: Configuration<T>
) -> PwmInput<Self, PINS> where
PINS: Pins<Self>,
T: Into<Hertz>,
impl Pins<TIM3> for (PA6<Input<Floating>>, PA7<Input<Floating>>)
[src]
impl PclkSrc for TIM3
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self