Struct Peripherals

Source
pub struct Peripherals {
Show 50 fields pub AES: AES, pub APB_SARADC: APB_SARADC, pub BB: BB, pub DEDICATED_GPIO: DEDICATED_GPIO, pub DS: DS, pub EFUSE: EFUSE, pub EXTMEM: EXTMEM, pub GPIO: GPIO, pub GPIO_SD: GPIO_SD, pub HMAC: HMAC, pub I2C0: I2C0, pub I2C1: I2C1, pub I2S0: I2S0, pub INTERRUPT_CORE0: INTERRUPT_CORE0, pub IO_MUX: IO_MUX, pub LEDC: LEDC, pub PCNT: PCNT, pub PMS: PMS, pub RMT: RMT, pub RNG: RNG, pub RSA: RSA, pub RTC_IO: RTC_IO, pub RTC_CNTL: RTC_CNTL, pub RTC_I2C: RTC_I2C, pub SENS: SENS, pub SHA: SHA, pub SPI0: SPI0, pub SPI1: SPI1, pub SPI2: SPI2, pub SPI3: SPI3, pub SPI4: SPI4, pub SYSCON: SYSCON, pub SYSTEM: SYSTEM, pub SYSTIMER: SYSTIMER, pub TIMG0: TIMG0, pub TIMG1: TIMG1, pub TWAI0: TWAI0, pub UART0: UART0, pub UART1: UART1, pub UHCI0: UHCI0, pub USB0: USB0, pub USB_WRAP: USB_WRAP, pub XTS_AES: XTS_AES, pub NRX: NRX, pub FE: FE, pub FE2: FE2, pub COPY_DMA: COPY_DMA, pub CRYPTO_DMA: CRYPTO_DMA, pub I2C_ANA_MST: I2C_ANA_MST, pub WIFI: WIFI,
}
Expand description

All the peripherals.

Fields§

§AES: AES

AES

§APB_SARADC: APB_SARADC

APB_SARADC

§BB: BB

BB

§DEDICATED_GPIO: DEDICATED_GPIO

DEDICATED_GPIO

§DS: DS

DS

§EFUSE: EFUSE

EFUSE

§EXTMEM: EXTMEM

EXTMEM

§GPIO: GPIO

GPIO

§GPIO_SD: GPIO_SD

GPIO_SD

§HMAC: HMAC

HMAC

§I2C0: I2C0

I2C0

§I2C1: I2C1

I2C1

§I2S0: I2S0

I2S0

§INTERRUPT_CORE0: INTERRUPT_CORE0

INTERRUPT_CORE0

§IO_MUX: IO_MUX

IO_MUX

§LEDC: LEDC

LEDC

§PCNT: PCNT

PCNT

§PMS: PMS

PMS

§RMT: RMT

RMT

§RNG: RNG

RNG

§RSA: RSA

RSA

§RTC_IO: RTC_IO

RTC_IO

§RTC_CNTL: RTC_CNTL

RTC_CNTL

§RTC_I2C: RTC_I2C

RTC_I2C

§SENS: SENS

SENS

§SHA: SHA

SHA

§SPI0: SPI0

SPI0

§SPI1: SPI1

SPI1

§SPI2: SPI2

SPI2

§SPI3: SPI3

SPI3

§SPI4: SPI4

SPI4

§SYSCON: SYSCON

SYSCON

§SYSTEM: SYSTEM

SYSTEM

§SYSTIMER: SYSTIMER

SYSTIMER

§TIMG0: TIMG0

TIMG0

§TIMG1: TIMG1

TIMG1

§TWAI0: TWAI0

TWAI0

§UART0: UART0

UART0

§UART1: UART1

UART1

§UHCI0: UHCI0

UHCI0

§USB0: USB0

USB0

§USB_WRAP: USB_WRAP

USB_WRAP

§XTS_AES: XTS_AES

XTS_AES

§NRX: NRX

NRX

§FE: FE

FE

§FE2: FE2

FE2

§COPY_DMA: COPY_DMA

COPY_DMA

§CRYPTO_DMA: CRYPTO_DMA

CRYPTO_DMA

§I2C_ANA_MST: I2C_ANA_MST

I2C_ANA_MST

§WIFI: WIFI

WIFI

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.