EventFilter

Enum EventFilter 

Source
pub enum EventFilter {
Show 16 variants None = 0, BlankingResetToCmp1 = 1, BlankingResetToCmp2OrCmp1ToCmp2InUdm = 2, BlankingResetToCmp3 = 3, BlankingResetToCmp4OrCmp3ToCmp4InUdm = 4, BlankingSource1 = 5, BlankingSource2 = 6, BlankingSource3 = 7, BlankingSource4 = 8, BlankingSource5 = 9, BlankingSource6 = 10, BlankingSource7 = 11, BlankingSource8 = 12, WindowingResetToCmp2OrCmp2ToCmp3InUdm = 13, WindowingResetToCmp3OrCmp2ToCmp3InUdm = 14, WindowingResetToOtherCmp2OrCmp2UpToCmp3DownInUdm = 15,
}
Expand description

Note: Whenever a compare register is used for filtering, the value must be strictly above 0.

Variants§

§

None = 0

No filtering

§

BlankingResetToCmp1 = 1

Blanking from reset/rollover to Cmp1

§

BlankingResetToCmp2OrCmp1ToCmp2InUdm = 2

This depends on counter mode:

  • Up-counting mode: Blanking from reset/rollover to Cmp2
  • Up-down mode: Blanking from Cmp1 to Cmp2(only during up counting)
§

BlankingResetToCmp3 = 3

Blanking from reset/rollover to Cmp3

§

BlankingResetToCmp4OrCmp3ToCmp4InUdm = 4

This depends on counter mode:

  • Up-counting mode: Blanking from reset/rollover to Cmp4
  • Up-down mode: Blanking from Cmp3 to Cmp4(only during up counting)
§

BlankingSource1 = 5

(RM 0440 table 226 ‘Filtering signals mapping per timer’)

§

BlankingSource2 = 6

(RM 0440 table 226 ‘Filtering signals mapping per timer’)

§

BlankingSource3 = 7

(RM 0440 table 226 ‘Filtering signals mapping per timer’)

§

BlankingSource4 = 8

(RM 0440 table 226 ‘Filtering signals mapping per timer’)

§

BlankingSource5 = 9

(RM 0440 table 226 ‘Filtering signals mapping per timer’)

§

BlankingSource6 = 10

(RM 0440 table 226 ‘Filtering signals mapping per timer’)

§

BlankingSource7 = 11

(RM 0440 table 226 ‘Filtering signals mapping per timer’)

§

BlankingSource8 = 12

(RM 0440 table 226 ‘Filtering signals mapping per timer’)

§

WindowingResetToCmp2OrCmp2ToCmp3InUdm = 13

This depends on counter mode:

  • Up-counting mode: Windowing from reset/rollover to Cmp2
  • Up-down mode: Windowing from Cmp2 to Cmp3(only during up counting)
§

WindowingResetToCmp3OrCmp2ToCmp3InUdm = 14

This depends on counter mode:

  • Up-counting mode: Windowing from reset/rollover to Cmp3
  • Up-down mode: Windowing from Cmp2 to Cmp3(only during down counting)
§

WindowingResetToOtherCmp2OrCmp2UpToCmp3DownInUdm = 15

This depends on counter mode:

  • Up-counting mode: Windowing from reset/rollover to other timer TIMWIN’s Cmp2 event
  • Up-down mode: Windowing from other timer TIMWIN’s Cmp2 during up counting to Cmp3 during down counting

TIMWIN (RM 0440 table 227 ‘Windowing signals mapping per timer’):

DestinationTIMATIMBTIMCTIMDTIMETIMF
TIMWINTIMBTIMATIMDTIMCTIMFTIME

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.