Domain

Enum Domain 

Source
pub enum Domain {
Show 51 variants Watchdog1, Watchdog0, Timer5, Timer4, Timer3, Timer2, Timer1, Timer0, GpioQ, GpioP, GpioN, GpioM, GpioL, GpioK, GpioJ, GpioH, GpioG, GpioF, GpioE, GpioD, GpioC, GpioB, GpioA, MicroDma, Hibernation, Uart7, Uart6, Uart5, Uart4, Uart3, Uart2, Uart1, Uart0, Ssi3, Ssi2, Ssi1, Ssi0, I2c3, I2c2, I2c1, I2c0, Usb, Can, Adc1, Adc0, AnalogComparator, Eeprom, Pwm0, Pwm1, Emac0, Ephy0,
}
Expand description

List of peripherals that can be enabled or disabled

Variants§

§

Watchdog1

Watchdog 1

§

Watchdog0

Watchdog 0

§

Timer5

32/16-bit Timer 5

§

Timer4

32/16-bit Timer 4

§

Timer3

32/16-bit Timer 3

§

Timer2

32/16-bit Timer 2

§

Timer1

32/16-bit Timer 1

§

Timer0

32/16-bit Timer 0

§

GpioQ

Gpio Q

§

GpioP

Gpio P

§

GpioN

Gpio N

§

GpioM

Gpio M

§

GpioL

Gpio L

§

GpioK

Gpio K

§

GpioJ

Gpio J

§

GpioH

Gpio H

§

GpioG

Gpio G

§

GpioF

Gpio F

§

GpioE

GPIO E

§

GpioD

GPIO D

§

GpioC

GPIO C

§

GpioB

GPIO B

§

GpioA

GPIO A

§

MicroDma

µDMA

§

Hibernation

Hibernation

§

Uart7

UART 7

§

Uart6

UART 6

§

Uart5

UART 5

§

Uart4

UART 4

§

Uart3

UART 3

§

Uart2

UART 2

§

Uart1

UART 1

§

Uart0

UART 0

§

Ssi3

SSI 3

§

Ssi2

SSI 2

§

Ssi1

SSI 1

§

Ssi0

SSI 0

§

I2c3

I2C 3

§

I2c2

I2C 2

§

I2c1

I2C 1

§

I2c0

I2C 0

§

Usb

USB

§

Can

CAN

§

Adc1

ADC 1

§

Adc0

ADC 0

§

AnalogComparator

Analog Comparator

§

Eeprom

EEPROM

§

Pwm0

PWM0

§

Pwm1

PWM1

§

Emac0

EMAC0

§

Ephy0

EPHY0

Trait Implementations§

Source§

impl Clone for Domain

Source§

fn clone(&self) -> Domain

Returns a duplicate 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 Copy for Domain

Auto Trait Implementations§

§

impl Freeze for Domain

§

impl RefUnwindSafe for Domain

§

impl Send for Domain

§

impl Sync for Domain

§

impl Unpin for Domain

§

impl UnwindSafe for Domain

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.