atsamd_hal::clock::v2::apb

Enum DynApbId

Source
#[repr(u8)]
pub enum DynApbId {
Show 51 variants Pac = 0, Pm = 1, Mclk = 2, RstC = 3, OscCtrl = 4, Osc32kCtrl = 5, SupC = 6, Gclk = 7, Wdt = 8, Rtc = 9, Eic = 10, FreqM = 11, Sercom0 = 12, Sercom1 = 13, Tc0 = 14, Tc1 = 15, Usb = 16, Dsu = 17, NvmCtrl = 18, Port = 19, EvSys = 20, Sercom2 = 21, Sercom3 = 22, Tcc0 = 23, Tcc1 = 24, Tc2 = 25, Tc3 = 26, RamEcc = 27, Tcc2 = 28, Tcc3 = 29, Tc4 = 30, Tc5 = 31, PDec = 32, Ac = 33, Aes = 34, Trng = 35, Icm = 36, Qspi = 37, Ccl = 38, Sercom4 = 39, Sercom5 = 40, Sercom6 = 41, Sercom7 = 42, Tcc4 = 43, Tc6 = 44, Tc7 = 45, Adc0 = 46, Adc1 = 47, Dac = 48, I2S = 49, Pcc = 50,
}
Expand description

Value-level enum identifying a single APB clock

Each variant of this enum corresponds to a specific bit in one of the four APBXMASK registers and identifies one of many possible APB clocks, which can vary by chip.

DynApbId is the value-level equivalent of ApbId.

Variants§

§

Pac = 0

§

Pm = 1

§

Mclk = 2

§

RstC = 3

§

OscCtrl = 4

§

Osc32kCtrl = 5

§

SupC = 6

§

Gclk = 7

§

Wdt = 8

§

Rtc = 9

§

Eic = 10

§

FreqM = 11

§

Sercom0 = 12

§

Sercom1 = 13

§

Tc0 = 14

§

Tc1 = 15

§

Usb = 16

§

Dsu = 17

§

NvmCtrl = 18

§

Port = 19

§

EvSys = 20

§

Sercom2 = 21

§

Sercom3 = 22

§

Tcc0 = 23

§

Tcc1 = 24

§

Tc2 = 25

§

Tc3 = 26

§

RamEcc = 27

§

Tcc2 = 28

§

Tcc3 = 29

§

Tc4 = 30

§

Tc5 = 31

§

PDec = 32

§

Ac = 33

§

Aes = 34

§

Trng = 35

§

Icm = 36

§

Qspi = 37

§

Ccl = 38

§

Sercom4 = 39

§

Sercom5 = 40

§

Sercom6 = 41

§

Sercom7 = 42

§

Tcc4 = 43

§

Tc6 = 44

§

Tc7 = 45

§

Adc0 = 46

§

Adc1 = 47

§

Dac = 48

§

I2S = 49

§

Pcc = 50

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.