#[cfg(stm32h5)]
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum TriggerSel {
Software = 0,
Lptim1 = 1,
Lptim2 = 2,
#[cfg(not(stm32h503))]
Lptim3 = 3,
Exti13 = 4,
}
#[cfg(stm32h7)]
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum TriggerSel {
Software = 0,
Lptim1 = 1,
Lptim2 = 2,
Lptim3 = 3,
Exti13 = 4,
}
#[cfg(stm32h7rs)]
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum TriggerSel {
Software = 0,
Lptim4 = 1,
Lptim2 = 2,
Lptim3 = 3,
Exti13 = 4,
}
#[cfg(stm32n6)]
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum TriggerSel {
Software = 0,
Lptim4 = 1,
Lptim2 = 2,
Lptim3 = 3,
Exti13 = 4,
}