#[repr(u8)]pub enum TSEL1 {
Show 16 variants
Swtrig = 0,
Tim1or8trgo = 1,
Tim7trgo = 2,
Tim15trgo = 3,
Tim2trgo = 4,
Tim4trgo = 5,
Exti9 = 6,
Tim6trgo = 7,
Tim3trgo = 8,
HrtimDacReset1 = 9,
HrtimDacReset2 = 10,
HrtimDacReset3 = 11,
HrtimDacReset4 = 12,
HrtimDacReset5 = 13,
HrtimDacReset6 = 14,
HrtimDacX = 15,
}
Expand description
DAC channel1 trigger selection These bits select the external event used to trigger DAC channel1. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled).
Value on reset: 0
Variants§
Swtrig = 0
0: Software trigger
Tim1or8trgo = 1
1: Timer 8 (DAC1
Tim7trgo = 2
2: Timer 7 TRGO event
Tim15trgo = 3
3: Timer 15 TRGO event
Tim2trgo = 4
4: Timer 2 TRGO event
Tim4trgo = 5
5: Timer 4 TRGO event
Exti9 = 6
6: EXTI line 9
Tim6trgo = 7
7: Timer 6 TRGO event
Tim3trgo = 8
8: Timer 3 TRGO event
HrtimDacReset1 = 9
9: hrtim_dac_reset_trg1
HrtimDacReset2 = 10
10: hrtim_dac_reset_trg2
HrtimDacReset3 = 11
11: hrtim_dac_reset_trg3
HrtimDacReset4 = 12
12: hrtim_dac_reset_trg4
HrtimDacReset5 = 13
13: hrtim_dac_reset_trg5
HrtimDacReset6 = 14
14: hrtim_dac_reset_trg6
HrtimDacX = 15
15: hrtim_dac_trg1 (DAC1
Trait Implementations§
impl Copy for TSEL1
impl Eq for TSEL1
impl IsEnum for TSEL1
impl StructuralPartialEq for TSEL1
Auto Trait Implementations§
impl Freeze for TSEL1
impl RefUnwindSafe for TSEL1
impl Send for TSEL1
impl Sync for TSEL1
impl Unpin for TSEL1
impl UnwindSafe for TSEL1
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