Struct stm32f30x::Peripherals

source ·
pub struct Peripherals {
Show 52 fields pub GPIOA: GPIOA, pub GPIOB: GPIOB, pub GPIOC: GPIOC, pub GPIOD: GPIOD, pub GPIOE: GPIOE, pub GPIOF: GPIOF, pub TSC: TSC, pub CRC: CRC, pub FLASH: FLASH, pub RCC: RCC, pub DMA1: DMA1, pub DMA2: DMA2, pub TIM2: TIM2, pub TIM3: TIM3, pub TIM4: TIM4, pub TIM15: TIM15, pub TIM16: TIM16, pub TIM17: TIM17, pub USART1: USART1, pub USART2: USART2, pub USART3: USART3, pub UART4: UART4, pub UART5: UART5, pub SPI1: SPI1, pub SPI2: SPI2, pub SPI3: SPI3, pub I2S2EXT: I2S2EXT, pub I2S3EXT: I2S3EXT, pub EXTI: EXTI, pub COMP: COMP, pub PWR: PWR, pub CAN: CAN, pub USB_FS: USB_FS, pub I2C1: I2C1, pub I2C2: I2C2, pub IWDG: IWDG, pub WWDG: WWDG, pub RTC: RTC, pub TIM6: TIM6, pub TIM7: TIM7, pub DAC: DAC, pub DBGMCU: DBGMCU, pub TIM1: TIM1, pub TIM8: TIM8, pub ADC1: ADC1, pub ADC2: ADC2, pub ADC3: ADC3, pub ADC4: ADC4, pub ADC1_2: ADC1_2, pub ADC3_4: ADC3_4, pub SYSCFG: SYSCFG, pub OPAMP: OPAMP,
}
Expand description

All the peripherals

Fields

GPIOA: GPIOA

GPIOA

GPIOB: GPIOB

GPIOB

GPIOC: GPIOC

GPIOC

GPIOD: GPIOD

GPIOD

GPIOE: GPIOE

GPIOE

GPIOF: GPIOF

GPIOF

TSC: TSC

TSC

CRC: CRC

CRC

FLASH: FLASH

FLASH

RCC: RCC

RCC

DMA1: DMA1

DMA1

DMA2: DMA2

DMA2

TIM2: TIM2

TIM2

TIM3: TIM3

TIM3

TIM4: TIM4

TIM4

TIM15: TIM15

TIM15

TIM16: TIM16

TIM16

TIM17: TIM17

TIM17

USART1: USART1

USART1

USART2: USART2

USART2

USART3: USART3

USART3

UART4: UART4

UART4

UART5: UART5

UART5

SPI1: SPI1

SPI1

SPI2: SPI2

SPI2

SPI3: SPI3

SPI3

I2S2EXT: I2S2EXT

I2S2EXT

I2S3EXT: I2S3EXT

I2S3EXT

EXTI: EXTI

EXTI

COMP: COMP

COMP

PWR: PWR

PWR

CAN: CAN

CAN

USB_FS: USB_FS

USB_FS

I2C1: I2C1

I2C1

I2C2: I2C2

I2C2

IWDG: IWDG

IWDG

WWDG: WWDG

WWDG

RTC: RTC

RTC

TIM6: TIM6

TIM6

TIM7: TIM7

TIM7

DAC: DAC

DAC

DBGMCU: DBGMCU

DBGMCU

TIM1: TIM1

TIM1

TIM8: TIM8

TIM8

ADC1: ADC1

ADC1

ADC2: ADC2

ADC2

ADC3: ADC3

ADC3

ADC4: ADC4

ADC4

ADC1_2: ADC1_2

ADC1_2

ADC3_4: ADC3_4

ADC3_4

SYSCFG: SYSCFG

SYSCFG

OPAMP: OPAMP

OPAMP

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.

Should always be Self
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.