pub struct TIM1 { /* private fields */ }
Expand description
TIM1 peripheral
Implementations§
Trait Implementations§
Source§impl AdvancedInstance1Channel for TIM1
impl AdvancedInstance1Channel for TIM1
Source§type CommunicationInterrupt = TIM1_TRG_COM_TIM17
type CommunicationInterrupt = TIM1_TRG_COM_TIM17
Communication interrupt for this timer.
Source§type BreakInputInterrupt = TIM1_BRK_TIM15
type BreakInputInterrupt = TIM1_BRK_TIM15
Break input interrupt for this timer.
Source§impl BreakInputPin<TIM1, BkIn1, AfioRemap<0>> for PB12
impl BreakInputPin<TIM1, BkIn1, AfioRemap<0>> for PB12
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as BreakInputPin
Source§impl BreakInputPin<TIM1, BkIn1, AfioRemap<1>> for PA6
impl BreakInputPin<TIM1, BkIn1, AfioRemap<1>> for PA6
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as BreakInputPin
Source§impl CoreInstance for TIM1
impl CoreInstance for TIM1
Source§impl ExternalTriggerPin<TIM1, AfioRemap<0>> for PA12
impl ExternalTriggerPin<TIM1, AfioRemap<0>> for PA12
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as ExternalTriggerPin
Source§impl ExternalTriggerPin<TIM1, AfioRemap<1>> for PA12
impl ExternalTriggerPin<TIM1, AfioRemap<1>> for PA12
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as ExternalTriggerPin
Source§impl GeneralInstance1Channel for TIM1
impl GeneralInstance1Channel for TIM1
Source§type CaptureCompareInterrupt = TIM1_CC
type CaptureCompareInterrupt = TIM1_CC
Capture compare interrupt for this timer.
Source§impl GeneralInstance2Channel for TIM1
impl GeneralInstance2Channel for TIM1
Source§type TriggerInterrupt = TIM1_TRG_COM_TIM17
type TriggerInterrupt = TIM1_TRG_COM_TIM17
Trigger event interrupt for this timer.
Source§impl TimerComplementaryPin<TIM1, Ch1, AfioRemap<0>> for PB13
impl TimerComplementaryPin<TIM1, Ch1, AfioRemap<0>> for PB13
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§impl TimerComplementaryPin<TIM1, Ch1, AfioRemap<1>> for PA7
impl TimerComplementaryPin<TIM1, Ch1, AfioRemap<1>> for PA7
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§impl TimerComplementaryPin<TIM1, Ch2, AfioRemap<0>> for PB14
impl TimerComplementaryPin<TIM1, Ch2, AfioRemap<0>> for PB14
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§impl TimerComplementaryPin<TIM1, Ch2, AfioRemap<1>> for PB0
impl TimerComplementaryPin<TIM1, Ch2, AfioRemap<1>> for PB0
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§impl TimerComplementaryPin<TIM1, Ch3, AfioRemap<0>> for PB15
impl TimerComplementaryPin<TIM1, Ch3, AfioRemap<0>> for PB15
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§impl TimerComplementaryPin<TIM1, Ch3, AfioRemap<1>> for PB1
impl TimerComplementaryPin<TIM1, Ch3, AfioRemap<1>> for PB1
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§impl TimerPin<TIM1, Ch1, AfioRemap<0>> for PA8
impl TimerPin<TIM1, Ch1, AfioRemap<0>> for PA8
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerPin
Source§impl TimerPin<TIM1, Ch1, AfioRemap<1>> for PA8
impl TimerPin<TIM1, Ch1, AfioRemap<1>> for PA8
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerPin
Source§impl TimerPin<TIM1, Ch2, AfioRemap<0>> for PA9
impl TimerPin<TIM1, Ch2, AfioRemap<0>> for PA9
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerPin
Source§impl TimerPin<TIM1, Ch2, AfioRemap<1>> for PA9
impl TimerPin<TIM1, Ch2, AfioRemap<1>> for PA9
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerPin
Source§impl TimerPin<TIM1, Ch3, AfioRemap<0>> for PA10
impl TimerPin<TIM1, Ch3, AfioRemap<0>> for PA10
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerPin
Source§impl TimerPin<TIM1, Ch3, AfioRemap<1>> for PA10
impl TimerPin<TIM1, Ch3, AfioRemap<1>> for PA10
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerPin
Source§impl TimerPin<TIM1, Ch4, AfioRemap<0>> for PA11
impl TimerPin<TIM1, Ch4, AfioRemap<0>> for PA11
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerPin
Source§impl TimerPin<TIM1, Ch4, AfioRemap<1>> for PA11
impl TimerPin<TIM1, Ch4, AfioRemap<1>> for PA11
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TimerPin
impl AdvancedInstance2Channel for TIM1
impl AdvancedInstance4Channel for TIM1
impl BasicInstance for TIM1
impl BasicNoCr2Instance for TIM1
impl Copy for TIM1
impl GeneralInstance4Channel for TIM1
impl PeripheralType for TIM1
impl RccPeripheral for TIM1
Auto Trait Implementations§
impl Freeze for TIM1
impl RefUnwindSafe for TIM1
impl Send for TIM1
impl Sync for TIM1
impl Unpin for TIM1
impl UnwindSafe for TIM1
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