atsamd_hal::clock::v2::pclk

Enum DynPclkId

Source
#[repr(u8)]
pub enum DynPclkId {
Show 46 variants Dfll = 0, Dpll0 = 1, Dpll1 = 2, Slow = 3, Eic = 4, FreqMMeasure = 5, FreqMReference = 6, Sercom0 = 7, Sercom1 = 8, Tc0Tc1 = 9, Usb = 10, EvSys0 = 11, EvSys1 = 12, EvSys2 = 13, EvSys3 = 14, EvSys4 = 15, EvSys5 = 16, EvSys6 = 17, EvSys7 = 18, EvSys8 = 19, EvSys9 = 20, EvSys10 = 21, EvSys11 = 22, Sercom2 = 23, Sercom3 = 24, Tcc0Tcc1 = 25, Tc2Tc3 = 26, Tcc2Tcc3 = 29, Tc4Tc5 = 30, Pdec = 31, Ac = 32, Ccl = 33, Sercom4 = 34, Sercom5 = 35, Sercom6 = 36, Sercom7 = 37, Tcc4 = 38, Tc6Tc7 = 39, Adc0 = 40, Adc1 = 41, Dac = 42, I2s0 = 43, I2s1 = 44, Sdhc0 = 45, Sdhc1 = 46, Cm4Trace = 47,
}
Expand description

Value-level enum identifying one of the 48 possible Pclks

The variants of this enum identify one of the 48 possible peripheral channel clocks. When cast to a u8, each variant maps to its corresponding PCHCTRL index.

DynPclkId is the value-level equivalent of PclkId.

Variants§

§

Dfll = 0

§

Dpll0 = 1

§

Dpll1 = 2

§

Slow = 3

§

Eic = 4

§

FreqMMeasure = 5

§

FreqMReference = 6

§

Sercom0 = 7

§

Sercom1 = 8

§

Tc0Tc1 = 9

§

Usb = 10

§

EvSys0 = 11

§

EvSys1 = 12

§

EvSys2 = 13

§

EvSys3 = 14

§

EvSys4 = 15

§

EvSys5 = 16

§

EvSys6 = 17

§

EvSys7 = 18

§

EvSys8 = 19

§

EvSys9 = 20

§

EvSys10 = 21

§

EvSys11 = 22

§

Sercom2 = 23

§

Sercom3 = 24

§

Tcc0Tcc1 = 25

§

Tc2Tc3 = 26

§

Tcc2Tcc3 = 29

§

Tc4Tc5 = 30

§

Pdec = 31

§

Ac = 32

§

Ccl = 33

§

Sercom4 = 34

§

Sercom5 = 35

§

Sercom6 = 36

§

Sercom7 = 37

§

Tcc4 = 38

§

Tc6Tc7 = 39

§

Adc0 = 40

§

Adc1 = 41

§

Dac = 42

§

I2s0 = 43

§

I2s1 = 44

§

Sdhc0 = 45

§

Sdhc1 = 46

§

Cm4Trace = 47

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> Same for T

Source§

type Output = T

Should always be Self
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.