pub struct Peripherals {
Show 20 fields pub DMA: DMA, pub PMU: PMU, pub RCC: RCC, pub I2C: I2C, pub SPI: SPI, pub UART0: UART0, pub UART1: UART1, pub UART2: UART2, pub UART3: UART3, pub UART4: UART4, pub UART5: UART5, pub TIMER: TIMER, pub WDOG: WDOG, pub PWM: PWM, pub FLASH: FLASH, pub RSA: RSA, pub ADC: ADC, pub GPIOA: GPIOA, pub GPIOB: GPIOB, pub TOUCH: TOUCH,
}
Expand description

All the peripherals

Fields

DMA: DMA

DMA

PMU: PMU

PMU

RCC: RCC

RCC

I2C: I2C

I2C

SPI: SPI

SPI

UART0: UART0

UART0

UART1: UART1

UART1

UART2: UART2

UART2

UART3: UART3

UART3

UART4: UART4

UART4

UART5: UART5

UART5

TIMER: TIMER

TIMER

WDOG: WDOG

WDOG

PWM: PWM

PWM

FLASH: FLASH

FLASH

RSA: RSA

RSA

ADC: ADC

ADC

GPIOA: GPIOA

GPIOA

GPIOB: GPIOB

GPIOB

TOUCH: TOUCH

TOUCH

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.