pub enum TriggerSel {
Tim6 = 0,
Tim8Or3 = 1,
Tim7 = 2,
Tim15 = 3,
Tim2 = 4,
Tim4 = 5,
Exti9 = 6,
Software = 7,
}
Expand description
Trigger selection for STM32F303/3x8 (excluding 318 which is like 301, and 378 which is 37x).
Variants§
Tim6 = 0
Tim8Or3 = 1
- DAC1: defaults to TIM8 but can be remapped to TIM3 with DAC_TRIG_RMP in SYSCFG_CFGR1
- DAC2: always TIM3
Tim7 = 2
Tim15 = 3
Tim2 = 4
Tim4 = 5
Exti9 = 6
Software = 7
Implementations§
Trait Implementations§
Source§impl Clone for TriggerSel
impl Clone for TriggerSel
Source§fn clone(&self) -> TriggerSel
fn clone(&self) -> TriggerSel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TriggerSel
impl Debug for TriggerSel
Source§impl Format for TriggerSel
impl Format for TriggerSel
Source§impl PartialEq for TriggerSel
impl PartialEq for TriggerSel
impl Copy for TriggerSel
impl Eq for TriggerSel
impl StructuralPartialEq for TriggerSel
Auto Trait Implementations§
impl Freeze for TriggerSel
impl RefUnwindSafe for TriggerSel
impl Send for TriggerSel
impl Sync for TriggerSel
impl Unpin for TriggerSel
impl UnwindSafe for TriggerSel
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