atsamd11c::gclk::clkctrl

Enum Idselect

Source
#[repr(u8)]
pub enum Idselect {
Show 23 variants Dfll48 = 0, Fdpll = 1, Fdpll32k = 2, Wdt = 3, Rtc = 4, Eic = 5, Usb = 6, Evsys0 = 7, Evsys1 = 8, Evsys2 = 9, Evsys3 = 10, Evsys4 = 11, Evsys5 = 12, SercomxSlow = 13, Sercom0Core = 14, Sercom1Core = 15, Sercom2Core = 16, Tcc0 = 17, Tc1Tc2 = 18, Adc = 19, AcDig = 20, AcAna = 21, Dac = 22,
}
Expand description

Generic Clock Selection ID

Value on reset: 0

Variants§

§

Dfll48 = 0

0: DFLL48

§

Fdpll = 1

1: FDPLL

§

Fdpll32k = 2

2: FDPLL32K

§

Wdt = 3

3: WDT

§

Rtc = 4

4: RTC

§

Eic = 5

5: EIC

§

Usb = 6

6: USB

§

Evsys0 = 7

7: EVSYS_0

§

Evsys1 = 8

8: EVSYS_1

§

Evsys2 = 9

9: EVSYS_2

§

Evsys3 = 10

10: EVSYS_3

§

Evsys4 = 11

11: EVSYS_4

§

Evsys5 = 12

12: EVSYS_5

§

SercomxSlow = 13

13: SERCOMX_SLOW

§

Sercom0Core = 14

14: SERCOM0_CORE

§

Sercom1Core = 15

15: SERCOM1_CORE

§

Sercom2Core = 16

16: SERCOM2_CORE

§

Tcc0 = 17

17: TCC0

§

Tc1Tc2 = 18

18: TC1_TC2

§

Adc = 19

19: ADC

§

AcDig = 20

20: AC_DIG

§

AcAna = 21

21: AC_ANA

§

Dac = 22

22: DAC

Trait Implementations§

Source§

impl Clone for Idselect

Source§

fn clone(&self) -> Idselect

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 Idselect

Source§

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

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

impl FieldSpec for Idselect

Source§

type Ux = u8

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

impl From<Idselect> for u8

Source§

fn from(variant: Idselect) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Idselect

Source§

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

Source§

impl Eq for Idselect

Source§

impl IsEnum for Idselect

Source§

impl StructuralPartialEq for Idselect

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.