Struct stm32l0xx_hal::pac::TIM21 [−][src]
General-purpose-timers
Implementations
impl TIM21
[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) -> &Reg<u32, _CCMR1_INPUT>
[src]
0x18 - capture/compare mode register 1 (input mode)
pub fn ccmr1_input_mut(&self) -> &mut Reg<u32, _CCMR1_INPUT>
[src]
0x18 - capture/compare mode register 1 (input mode)
pub fn ccmr1_output(&self) -> &Reg<u32, _CCMR1_OUTPUT>
[src]
0x18 - capture/compare mode register (output mode)
pub fn ccmr1_output_mut(&self) -> &mut Reg<u32, _CCMR1_OUTPUT>
[src]
0x18 - capture/compare mode register (output mode)
Trait Implementations
impl Deref for TIM21
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
pub fn deref(&self) -> &<TIM21 as Deref>::Target
[src]
impl EncoderExt<TIM21> for TIM21
[src]
fn encoder<PINS>(
self,
pins: PINS,
mode: Mode,
arr: u16,
rcc: &mut Rcc
) -> Encoder<TIM21, PINS> where
PINS: Pins<TIM21>,
[src]
self,
pins: PINS,
mode: Mode,
arr: u16,
rcc: &mut Rcc
) -> Encoder<TIM21, PINS> where
PINS: Pins<TIM21>,
impl GeneralPurposeTimer for TIM21
[src]
type MasterMode = MMS_A
fn select_master_mode(&mut self, variant: Self::MasterMode)
[src]
impl PinCh1<TIM21> for PB13<Analog>
[src]
fn into_alt_mode(self)
[src]
impl PinCh2<TIM21> for PB14<Analog>
[src]
fn into_alt_mode(self)
[src]
impl Send for TIM21
[src]
impl TimerExt<TIM21> for TIM21
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,