Enum atsame54n::dmac::channel::chctrla::BURSTLENSELECT_A

source ·
#[repr(u8)]
pub enum BURSTLENSELECT_A {
Show 16 variants SINGLE = 0, _2BEAT = 1, _3BEAT = 2, _4BEAT = 3, _5BEAT = 4, _6BEAT = 5, _7BEAT = 6, _8BEAT = 7, _9BEAT = 8, _10BEAT = 9, _11BEAT = 10, _12BEAT = 11, _13BEAT = 12, _14BEAT = 13, _15BEAT = 14, _16BEAT = 15,
}
Expand description

Burst Length

Value on reset: 0

Variants§

§

SINGLE = 0

0: Single-beat burst length

§

_2BEAT = 1

1: 2-beats burst length

§

_3BEAT = 2

2: 3-beats burst length

§

_4BEAT = 3

3: 4-beats burst length

§

_5BEAT = 4

4: 5-beats burst length

§

_6BEAT = 5

5: 6-beats burst length

§

_7BEAT = 6

6: 7-beats burst length

§

_8BEAT = 7

7: 8-beats burst length

§

_9BEAT = 8

8: 9-beats burst length

§

_10BEAT = 9

9: 10-beats burst length

§

_11BEAT = 10

10: 11-beats burst length

§

_12BEAT = 11

11: 12-beats burst length

§

_13BEAT = 12

12: 13-beats burst length

§

_14BEAT = 13

13: 14-beats burst length

§

_15BEAT = 14

14: 15-beats burst length

§

_16BEAT = 15

15: 16-beats burst length

Trait Implementations§

source§

impl Clone for BURSTLENSELECT_A

source§

fn clone(&self) -> BURSTLENSELECT_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 BURSTLENSELECT_A

source§

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

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

impl FieldSpec for BURSTLENSELECT_A

§

type Ux = u8

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

impl From<BURSTLENSELECT_A> for u8

source§

fn from(variant: BURSTLENSELECT_A) -> Self

Converts to this type from the input type.
source§

impl PartialEq for BURSTLENSELECT_A

source§

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

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

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

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

impl Copy for BURSTLENSELECT_A

source§

impl Eq for BURSTLENSELECT_A

source§

impl StructuralPartialEq for BURSTLENSELECT_A

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

§

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.