DevicePeripherals

Struct DevicePeripherals 

Source
pub struct DevicePeripherals {
Show 15 fields pub WDOG: Wdog, pub RTC: Rtc, pub AONCLK: Aonclk, pub BACKUP: Backup, pub PMU: Pmu, pub PRCI: Prci, pub OTP: Otp, pub UART0: Uart0, pub UART1: Uart1, pub QSPI0: Qspi0, pub QSPI1: Qspi1, pub I2C0: I2c0, pub PWM0: Pwm0, pub PWM1: Pwm1, pub PWM2: Pwm2,
}
Expand description

Device peripherals available in a 48QFN package, except GPIO0

Fields§

§WDOG: Wdog

WDOG peripheral

§RTC: Rtc

RTC peripheral

§AONCLK: Aonclk

AONCLK peripheral

§BACKUP: Backup

BACKUP peripheral

§PMU: Pmu

PMU peripheral

§PRCI: Prci

PRCI peripheral

§OTP: Otp

OTP peripheral

§UART0: Uart0

UART0 peripheral

§UART1: Uart1

UART1 peripheral (FE310-G002 only)

§QSPI0: Qspi0

QSPI0 peripheral

§QSPI1: Qspi1

QSPI1 peripheral

§I2C0: I2c0

I2C0 peripheral (FE310-G002 only)

§PWM0: Pwm0

PWM0 peripheral

§PWM1: Pwm1

PWM1 peripheral

§PWM2: Pwm2

PWM2 peripheral

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, 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.