[][src]Struct e310x::Peripherals

pub struct Peripherals {
    pub CLINT: CLINT,
    pub PLIC: PLIC,
    pub WDOG: WDOG,
    pub RTC: RTC,
    pub AONCLK: AONCLK,
    pub BACKUP: BACKUP,
    pub PMU: PMU,
    pub PRCI: PRCI,
    pub OTP: OTP,
    pub GPIO0: GPIO0,
    pub UART0: UART0,
    pub QSPI0: QSPI0,
    pub PWM0: PWM0,
    pub UART1: UART1,
    pub QSPI1: QSPI1,
    pub PWM1: PWM1,
    pub QSPI2: QSPI2,
    pub PWM2: PWM2,
    pub I2C0: I2C0,
}

All the peripherals

Fields

CLINT: CLINT

CLINT

PLIC: PLIC

PLIC

WDOG: WDOG

WDOG

RTC: RTC

RTC

AONCLK: AONCLK

AONCLK

BACKUP: BACKUP

BACKUP

PMU: PMU

PMU

PRCI: PRCI

PRCI

OTP: OTP

OTP

GPIO0: GPIO0

GPIO0

UART0: UART0

UART0

QSPI0: QSPI0

QSPI0

PWM0: PWM0

PWM0

UART1: UART1

UART1

QSPI1: QSPI1

QSPI1

PWM1: PWM1

PWM1

QSPI2: QSPI2

QSPI2

PWM2: PWM2

PWM2

I2C0: I2C0

I2C0

Methods

impl Peripherals[src]

pub fn take() -> Option<Self>[src]

Returns all the peripherals once

pub unsafe fn steal() -> Self[src]

Unchecked version of Peripherals::take

Auto Trait Implementations

impl Send for Peripherals

impl !Sync for Peripherals

impl Unpin for Peripherals

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.