pub struct Peripherals {
Show 41 fields pub AES: AES, pub APB_SARADC: APB_SARADC, 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 I2S: I2S, pub INTERRUPT: INTERRUPT, pub IO_MUX: IO_MUX, pub LEDC: LEDC, pub PCNT: PCNT, pub PMS: PMS, pub RMT: RMT, pub RNG: RNG, pub RSA: RSA, pub RTCIO: RTCIO, 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 SYSTEM: SYSTEM, pub SYSTIMER: SYSTIMER, pub TIMG0: TIMG0, pub TIMG1: TIMG1, pub TWAI: TWAI, pub UART0: UART0, pub UART1: UART1, pub UHCI0: UHCI0, pub USB0: USB0, pub USB_WRAP: USB_WRAP, pub XTS_AES: XTS_AES,
}

Fields§

§AES: AES§APB_SARADC: APB_SARADC§DEDICATED_GPIO: DEDICATED_GPIO§DS: DS§EFUSE: EFUSE§EXTMEM: EXTMEM§GPIO: GPIO§GPIO_SD: GPIO_SD§HMAC: HMAC§I2C0: I2C0§I2C1: I2C1§I2S: I2S§INTERRUPT: INTERRUPT§IO_MUX: IO_MUX§LEDC: LEDC§PCNT: PCNT§PMS: PMS§RMT: RMT§RNG: RNG§RSA: RSA§RTCIO: RTCIO§RTC_CNTL: RTC_CNTL§RTC_I2C: RTC_I2C§SENS: SENS§SHA: SHA§SPI0: SPI0§SPI1: SPI1§SPI2: SPI2§SPI3: SPI3§SPI4: SPI4§SYSTEM: SYSTEM§SYSTIMER: SYSTIMER§TIMG0: TIMG0§TIMG1: TIMG1§TWAI: TWAI§UART0: UART0§UART1: UART1§UHCI0: UHCI0§USB0: USB0§USB_WRAP: USB_WRAP§XTS_AES: XTS_AES

Implementations§

Returns all the peripherals once

Unsafely create an instance of this peripheral out of thin air.

Safety

You must ensure that you’re only using one instance of this type at a time.

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.