Enum d1_pac::cir_rx::cir_rxcfg::NTHR_A

source ·
#[repr(u8)]
pub enum NTHR_A {
Show 62 variants T0 = 0, T1 = 1, T2 = 2, T3 = 3, T4 = 4, T5 = 5, T6 = 6, T7 = 7, T8 = 8, T9 = 9, T10 = 10, T11 = 11, T12 = 12, T13 = 13, T14 = 14, T15 = 15, T16 = 16, T17 = 17, T18 = 18, T19 = 19, T20 = 20, T21 = 21, T22 = 22, T23 = 23, T24 = 24, T25 = 25, T26 = 26, T27 = 27, T28 = 28, T29 = 29, T30 = 30, T31 = 31, T32 = 32, T33 = 33, T34 = 34, T35 = 35, T36 = 36, T37 = 37, T38 = 38, T39 = 39, T40 = 40, T41 = 41, T42 = 42, T43 = 43, T44 = 44, T45 = 45, T46 = 46, T47 = 47, T48 = 48, T49 = 49, T50 = 50, T51 = 51, T52 = 52, T53 = 53, T54 = 54, T55 = 55, T56 = 56, T57 = 57, T58 = 58, T59 = 59, T60 = 60, T61 = 61,
}
Expand description

Noise Threshold for CIR

When the duration of the signal pulse (high or low level) is less than NTHR, the pulse is taken as noise and should be discarded by hardware.

Value on reset: 10

Variants§

§

T0 = 0

0: All samples are recorded into RX FIFO

§

T1 = 1

1: If the signal is only one sample duration, it is taken as noise and discarded.

§

T2 = 2

2: If the signal is less than 2 sample duration, it is taken as noise and discarded

§

T3 = 3

3: If the signal is less than 3 sample duration, it is taken as noise and discarded

§

T4 = 4

4: If the signal is less than 4 sample duration, it is taken as noise and discarded

§

T5 = 5

5: If the signal is less than 5 sample duration, it is taken as noise and discarded

§

T6 = 6

6: If the signal is less than 6 sample duration, it is taken as noise and discarded

§

T7 = 7

7: If the signal is less than 7 sample duration, it is taken as noise and discarded

§

T8 = 8

8: If the signal is less than 8 sample duration, it is taken as noise and discarded

§

T9 = 9

9: If the signal is less than 9 sample duration, it is taken as noise and discarded

§

T10 = 10

10: If the signal is less than 10 sample duration, it is taken as noise and discarded

§

T11 = 11

11: If the signal is less than 11 sample duration, it is taken as noise and discarded

§

T12 = 12

12: If the signal is less than 12 sample duration, it is taken as noise and discarded

§

T13 = 13

13: If the signal is less than 13 sample duration, it is taken as noise and discarded

§

T14 = 14

14: If the signal is less than 14 sample duration, it is taken as noise and discarded

§

T15 = 15

15: If the signal is less than 15 sample duration, it is taken as noise and discarded

§

T16 = 16

16: If the signal is less than 16 sample duration, it is taken as noise and discarded

§

T17 = 17

17: If the signal is less than 17 sample duration, it is taken as noise and discarded

§

T18 = 18

18: If the signal is less than 18 sample duration, it is taken as noise and discarded

§

T19 = 19

19: If the signal is less than 19 sample duration, it is taken as noise and discarded

§

T20 = 20

20: If the signal is less than 20 sample duration, it is taken as noise and discarded

§

T21 = 21

21: If the signal is less than 21 sample duration, it is taken as noise and discarded

§

T22 = 22

22: If the signal is less than 22 sample duration, it is taken as noise and discarded

§

T23 = 23

23: If the signal is less than 23 sample duration, it is taken as noise and discarded

§

T24 = 24

24: If the signal is less than 24 sample duration, it is taken as noise and discarded

§

T25 = 25

25: If the signal is less than 25 sample duration, it is taken as noise and discarded

§

T26 = 26

26: If the signal is less than 26 sample duration, it is taken as noise and discarded

§

T27 = 27

27: If the signal is less than 27 sample duration, it is taken as noise and discarded

§

T28 = 28

28: If the signal is less than 28 sample duration, it is taken as noise and discarded

§

T29 = 29

29: If the signal is less than 29 sample duration, it is taken as noise and discarded

§

T30 = 30

30: If the signal is less than 30 sample duration, it is taken as noise and discarded

§

T31 = 31

31: If the signal is less than 31 sample duration, it is taken as noise and discarded

§

T32 = 32

32: If the signal is less than 32 sample duration, it is taken as noise and discarded

§

T33 = 33

33: If the signal is less than 33 sample duration, it is taken as noise and discarded

§

T34 = 34

34: If the signal is less than 34 sample duration, it is taken as noise and discarded

§

T35 = 35

35: If the signal is less than 35 sample duration, it is taken as noise and discarded

§

T36 = 36

36: If the signal is less than 36 sample duration, it is taken as noise and discarded

§

T37 = 37

37: If the signal is less than 37 sample duration, it is taken as noise and discarded

§

T38 = 38

38: If the signal is less than 38 sample duration, it is taken as noise and discarded

§

T39 = 39

39: If the signal is less than 39 sample duration, it is taken as noise and discarded

§

T40 = 40

40: If the signal is less than 40 sample duration, it is taken as noise and discarded

§

T41 = 41

41: If the signal is less than 41 sample duration, it is taken as noise and discarded

§

T42 = 42

42: If the signal is less than 42 sample duration, it is taken as noise and discarded

§

T43 = 43

43: If the signal is less than 43 sample duration, it is taken as noise and discarded

§

T44 = 44

44: If the signal is less than 44 sample duration, it is taken as noise and discarded

§

T45 = 45

45: If the signal is less than 45 sample duration, it is taken as noise and discarded

§

T46 = 46

46: If the signal is less than 46 sample duration, it is taken as noise and discarded

§

T47 = 47

47: If the signal is less than 47 sample duration, it is taken as noise and discarded

§

T48 = 48

48: If the signal is less than 48 sample duration, it is taken as noise and discarded

§

T49 = 49

49: If the signal is less than 49 sample duration, it is taken as noise and discarded

§

T50 = 50

50: If the signal is less than 50 sample duration, it is taken as noise and discarded

§

T51 = 51

51: If the signal is less than 51 sample duration, it is taken as noise and discarded

§

T52 = 52

52: If the signal is less than 52 sample duration, it is taken as noise and discarded

§

T53 = 53

53: If the signal is less than 53 sample duration, it is taken as noise and discarded

§

T54 = 54

54: If the signal is less than 54 sample duration, it is taken as noise and discarded

§

T55 = 55

55: If the signal is less than 55 sample duration, it is taken as noise and discarded

§

T56 = 56

56: If the signal is less than 56 sample duration, it is taken as noise and discarded

§

T57 = 57

57: If the signal is less than 57 sample duration, it is taken as noise and discarded

§

T58 = 58

58: If the signal is less than 58 sample duration, it is taken as noise and discarded

§

T59 = 59

59: If the signal is less than 59 sample duration, it is taken as noise and discarded

§

T60 = 60

60: If the signal is less than 60 sample duration, it is taken as noise and discarded

§

T61 = 61

61: If the signal is less than 61 sample duration, it is taken as noise and discarded

Trait Implementations§

source§

impl Clone for NTHR_A

source§

fn clone(&self) -> NTHR_A

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NTHR_A

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<NTHR_A> for u8

source§

fn from(variant: NTHR_A) -> Self

Converts to this type from the input type.
source§

impl PartialEq for NTHR_A

source§

fn eq(&self, other: &NTHR_A) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for NTHR_A

source§

impl Eq for NTHR_A

source§

impl StructuralPartialEq for NTHR_A

Auto Trait Implementations§

§

impl Freeze for NTHR_A

§

impl RefUnwindSafe for NTHR_A

§

impl Send for NTHR_A

§

impl Sync for NTHR_A

§

impl Unpin for NTHR_A

§

impl UnwindSafe for NTHR_A

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> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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>,

§

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>,

§

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.