Struct Peripherals

Source
pub struct Peripherals {
Show 35 fields pub GLB: GLB, pub GPIP: GPIP, pub AGC: AGC, pub SEC: SEC, pub PERMIT: PERMIT, pub UART0: UART0, pub UART1: UART1, pub SPI0: SPI0, pub I2C0: I2C0, pub I2C1: I2C1, pub PWM: PWM, pub TIMER: TIMER, pub IR: IR, pub CRC: CRC, pub DBI: DBI, pub ISO11898: ISO11898, pub I2S: I2S, pub AUADC: AUADC, pub FLASH: FLASH, pub DMA: DMA, pub SDU: SDU, pub HBN: HBN, pub PSRAM: PSRAM, pub AUDAC: AUDAC, pub EFUSE: EFUSE, pub DVP0: DVP0, pub MJPEG: MJPEG, pub SDH: SDH, pub EMAC: EMAC, pub USB: USB, pub AON: AON, pub PDS: PDS, pub CCI: CCI, pub MCU_MISC: MCU_MISC, pub TZC_SEC: TZC_SEC,
}
Expand description

All the peripherals.

Fields§

§GLB: GLB

GLB

§GPIP: GPIP

GPIP

§AGC: AGC

AGC

§SEC: SEC

SEC

§PERMIT: PERMIT

PERMIT

§UART0: UART0

UART0

§UART1: UART1

UART1

§SPI0: SPI0

SPI0

§I2C0: I2C0

I2C0

§I2C1: I2C1

I2C1

§PWM: PWM

PWM

§TIMER: TIMER

TIMER

§IR: IR

IR

§CRC: CRC

CRC

§DBI: DBI

DBI

§ISO11898: ISO11898

ISO11898

§I2S: I2S

I2S

§AUADC: AUADC

AUADC

§FLASH: FLASH

FLASH

§DMA: DMA

DMA

§SDU: SDU

SDU

§HBN: HBN

HBN

§PSRAM: PSRAM

PSRAM

§AUDAC: AUDAC

AUDAC

§EFUSE: EFUSE

EFUSE

§DVP0: DVP0

DVP0

§MJPEG: MJPEG

MJPEG

§SDH: SDH

SDH

§EMAC: EMAC

EMAC

§USB: USB

USB

§AON: AON

AON

§PDS: PDS

PDS

§CCI: CCI

CCI

§MCU_MISC: MCU_MISC

MCU_MISC

§TZC_SEC: TZC_SEC

TZC_SEC

Implementations§

Source§

impl Peripherals

Source

pub unsafe fn steal() -> Self

Unchecked version of Peripherals::take.

§Safety

Each of the returned peripherals must be used at most once.

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.