pub struct Peripherals {
Show 15 fields pub DPORT: DPORT, pub EFUSE: EFUSE, pub GPIO: GPIO, pub I2S: I2S, pub IO_MUX: IO_MUX, pub RTC: RTC, pub SLC: SLC, pub SPI0: SPI0, pub SPI1: SPI1, pub TIMER: TIMER, pub UART0: UART0, pub UART1: UART1, pub WDT: WDT, pub RNG: RNG, pub RTCCNTL: RTCCNTL,
}
Expand description

All the peripherals

Fields

DPORT: DPORT

DPORT

EFUSE: EFUSE

EFUSE

GPIO: GPIO

GPIO

I2S: I2S

I2S

IO_MUX: IO_MUX

IO_MUX

RTC: RTC

RTC

SLC: SLC

SLC

SPI0: SPI0

SPI0

SPI1: SPI1

SPI1

TIMER: TIMER

TIMER

UART0: UART0

UART0

UART1: UART1

UART1

WDT: WDT

WDT

RNG: RNG

RNG

RTCCNTL: RTCCNTL

RTCCNTL

Implementations

Returns all the peripherals once

Unchecked version of Peripherals::take

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.