Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 39 fields pub CODEC: CODEC, pub MJPEG: MJPEG, pub H264: H264, pub NPU: NPU, pub MMGLB: MMGLB, pub PTA: PTA, pub WIFI: WIFI, pub EMAC: EMAC, pub SDH: SDH, pub AUDIO: AUDIO, pub USB: USB, pub PSRAM: PSRAM, pub AON: AON, pub HBN: HBN, pub PDS: PDS, pub DMA0: DMA0, pub DMA1: DMA1, pub FLASH: FLASH, pub LZ4D: LZ4D, pub PDM: PDM, pub I2S: I2S, pub ISO11898: ISO11898, pub IPC: IPC, pub IR: IR, pub TIMER: TIMER, pub PWM: PWM, pub I2C0: I2C0, pub I2C1: I2C1, pub SPI0: SPI0, pub UART0: UART0, pub UART1: UART1, pub MISC: MISC, pub CCI: CCI, pub EFUSE: EFUSE, pub SEC: SEC, pub DEBUG: DEBUG, pub AGC: AGC, pub GPIP: GPIP, pub GLB: GLB,
}
Expand description

All the peripherals.

Fields§

§CODEC: CODEC

CODEC

§MJPEG: MJPEG

MJPEG

§H264: H264

H264

§NPU: NPU

NPU

§MMGLB: MMGLB

MMGLB

§PTA: PTA

PTA

§WIFI: WIFI

WIFI

§EMAC: EMAC

EMAC

§SDH: SDH

SDH

§AUDIO: AUDIO

AUDIO

§USB: USB

USB

§PSRAM: PSRAM

PSRAM

§AON: AON

AON

§HBN: HBN

HBN

§PDS: PDS

PDS

§DMA0: DMA0

DMA0

§DMA1: DMA1

DMA1

§FLASH: FLASH

FLASH

§LZ4D: LZ4D

LZ4D

§PDM: PDM

PDM

§I2S: I2S

I2S

§ISO11898: ISO11898

ISO11898

§IPC: IPC

IPC

§IR: IR

IR

§TIMER: TIMER

TIMER

§PWM: PWM

PWM

§I2C0: I2C0

I2C0

§I2C1: I2C1

I2C1

§SPI0: SPI0

SPI0

§UART0: UART0

UART0

§UART1: UART1

UART1

§MISC: MISC

MISC

§CCI: CCI

CCI

§EFUSE: EFUSE

EFUSE

§SEC: SEC

SEC

§DEBUG: DEBUG

DEBUG

§AGC: AGC

AGC

§GPIP: GPIP

GPIP

§GLB: GLB

GLB

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.