atsamd51p::dmac::crcctrl

Enum Crcsrcselect

Source
#[repr(u8)]
pub enum Crcsrcselect {
Show 34 variants Disable = 0, Io = 1, Chn0 = 32, Chn1 = 33, Chn2 = 34, Chn3 = 35, Chn4 = 36, Chn5 = 37, Chn6 = 38, Chn7 = 39, Chn8 = 40, Chn9 = 41, Chn10 = 42, Chn11 = 43, Chn12 = 44, Chn13 = 45, Chn14 = 46, Chn15 = 47, Chn16 = 48, Chn17 = 49, Chn18 = 50, Chn19 = 51, Chn20 = 52, Chn21 = 53, Chn22 = 54, Chn23 = 55, Chn24 = 56, Chn25 = 57, Chn26 = 58, Chn27 = 59, Chn28 = 60, Chn29 = 61, Chn30 = 62, Chn31 = 63,
}
Expand description

CRC Input Source

Value on reset: 0

Variants§

§

Disable = 0

0: CRC Disabled

§

Io = 1

1: I/O interface

§

Chn0 = 32

32: DMA Channel 0

§

Chn1 = 33

33: DMA Channel 1

§

Chn2 = 34

34: DMA Channel 2

§

Chn3 = 35

35: DMA Channel 3

§

Chn4 = 36

36: DMA Channel 4

§

Chn5 = 37

37: DMA Channel 5

§

Chn6 = 38

38: DMA Channel 6

§

Chn7 = 39

39: DMA Channel 7

§

Chn8 = 40

40: DMA Channel 8

§

Chn9 = 41

41: DMA Channel 9

§

Chn10 = 42

42: DMA Channel 10

§

Chn11 = 43

43: DMA Channel 11

§

Chn12 = 44

44: DMA Channel 12

§

Chn13 = 45

45: DMA Channel 13

§

Chn14 = 46

46: DMA Channel 14

§

Chn15 = 47

47: DMA Channel 15

§

Chn16 = 48

48: DMA Channel 16

§

Chn17 = 49

49: DMA Channel 17

§

Chn18 = 50

50: DMA Channel 18

§

Chn19 = 51

51: DMA Channel 19

§

Chn20 = 52

52: DMA Channel 20

§

Chn21 = 53

53: DMA Channel 21

§

Chn22 = 54

54: DMA Channel 22

§

Chn23 = 55

55: DMA Channel 23

§

Chn24 = 56

56: DMA Channel 24

§

Chn25 = 57

57: DMA Channel 25

§

Chn26 = 58

58: DMA Channel 26

§

Chn27 = 59

59: DMA Channel 27

§

Chn28 = 60

60: DMA Channel 28

§

Chn29 = 61

61: DMA Channel 29

§

Chn30 = 62

62: DMA Channel 30

§

Chn31 = 63

63: DMA Channel 31

Trait Implementations§

Source§

impl Clone for Crcsrcselect

Source§

fn clone(&self) -> Crcsrcselect

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 Crcsrcselect

Source§

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

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

impl FieldSpec for Crcsrcselect

Source§

type Ux = u8

Raw field type (u8, u16, u32, …).
Source§

impl From<Crcsrcselect> for u8

Source§

fn from(variant: Crcsrcselect) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Crcsrcselect

Source§

fn eq(&self, other: &Crcsrcselect) -> 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 Crcsrcselect

Source§

impl Eq for Crcsrcselect

Source§

impl IsEnum for Crcsrcselect

Source§

impl StructuralPartialEq for Crcsrcselect

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

Source§

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

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

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.