pub struct Peripherals {Show 121 fields
pub PA0: PA0,
pub PA1: PA1,
pub PA2: PA2,
pub PA3: PA3,
pub PA4: PA4,
pub PA5: PA5,
pub PA6: PA6,
pub PA7: PA7,
pub PA8: PA8,
pub PA11: PA11,
pub PA12: PA12,
pub PA13: PA13,
pub PA14: PA14,
pub PA15: PA15,
pub PB0: PB0,
pub PB1: PB1,
pub PB3: PB3,
pub PB4: PB4,
pub PB7: PB7,
pub PB8: PB8,
pub PB15: PB15,
pub PC13: PC13,
pub PC14: PC14,
pub PC15: PC15,
pub PH0: PH0,
pub PH1: PH1,
pub ADC1: ADC1,
pub ADC12_COMMON: ADC12_COMMON,
pub ADC2: ADC2,
pub AES: AES,
pub CEC: CEC,
pub CRC: CRC,
pub CRS: CRS,
pub DAC1: DAC1,
pub DBGMCU: DBGMCU,
pub DCACHE1: DCACHE1,
pub DTS: DTS,
pub FDCAN1: FDCAN1,
pub FDCAN2: FDCAN2,
pub FDCANRAM1: FDCANRAM1,
pub FDCANRAM2: FDCANRAM2,
pub FLASH: FLASH,
pub GPDMA1: GPDMA1,
pub GPDMA2: GPDMA2,
pub HASH: HASH,
pub I2C1: I2C1,
pub I2C2: I2C2,
pub I2C3: I2C3,
pub I3C1: I3C1,
pub I3C2: I3C2,
pub IWDG: IWDG,
pub LPTIM1: LPTIM1,
pub LPTIM2: LPTIM2,
pub LPUART1: LPUART1,
pub OCTOSPI1: OCTOSPI1,
pub OTFDEC1: OTFDEC1,
pub PKA: PKA,
pub PWR: PWR,
pub MCO1: MCO1,
pub RCC: RCC,
pub RNG: RNG,
pub RTC: RTC,
pub SAES: SAES,
pub SPI1: SPI1,
pub SPI2: SPI2,
pub SPI3: SPI3,
pub SPI4: SPI4,
pub SYSCFG: SYSCFG,
pub TAMP: TAMP,
pub TIM1: TIM1,
pub TIM15: TIM15,
pub TIM2: TIM2,
pub TIM3: TIM3,
pub TIM4: TIM4,
pub TIM5: TIM5,
pub TIM6: TIM6,
pub TIM7: TIM7,
pub TIM8: TIM8,
pub UART4: UART4,
pub UART5: UART5,
pub UID: UID,
pub USART1: USART1,
pub USART2: USART2,
pub USART3: USART3,
pub USART6: USART6,
pub USB: USB,
pub USBRAM: USBRAM,
pub VREFBUF: VREFBUF,
pub WWDG: WWDG,
pub EXTI0: EXTI0,
pub EXTI1: EXTI1,
pub EXTI2: EXTI2,
pub EXTI3: EXTI3,
pub EXTI4: EXTI4,
pub EXTI5: EXTI5,
pub EXTI6: EXTI6,
pub EXTI7: EXTI7,
pub EXTI8: EXTI8,
pub EXTI9: EXTI9,
pub EXTI10: EXTI10,
pub EXTI11: EXTI11,
pub EXTI12: EXTI12,
pub EXTI13: EXTI13,
pub EXTI14: EXTI14,
pub EXTI15: EXTI15,
pub GPDMA1_CH0: GPDMA1_CH0,
pub GPDMA1_CH1: GPDMA1_CH1,
pub GPDMA1_CH2: GPDMA1_CH2,
pub GPDMA1_CH3: GPDMA1_CH3,
pub GPDMA1_CH4: GPDMA1_CH4,
pub GPDMA1_CH5: GPDMA1_CH5,
pub GPDMA1_CH6: GPDMA1_CH6,
pub GPDMA1_CH7: GPDMA1_CH7,
pub GPDMA2_CH0: GPDMA2_CH0,
pub GPDMA2_CH1: GPDMA2_CH1,
pub GPDMA2_CH2: GPDMA2_CH2,
pub GPDMA2_CH3: GPDMA2_CH3,
pub GPDMA2_CH4: GPDMA2_CH4,
pub GPDMA2_CH5: GPDMA2_CH5,
pub GPDMA2_CH6: GPDMA2_CH6,
pub GPDMA2_CH7: GPDMA2_CH7,
}
Expand description
Struct containing all the peripheral singletons.
To obtain the peripherals, you must initialize the HAL, by calling crate::init
.
Fields§
§PA0: PA0
PA0 peripheral
PA1: PA1
PA1 peripheral
PA2: PA2
PA2 peripheral
PA3: PA3
PA3 peripheral
PA4: PA4
PA4 peripheral
PA5: PA5
PA5 peripheral
PA6: PA6
PA6 peripheral
PA7: PA7
PA7 peripheral
PA8: PA8
PA8 peripheral
PA11: PA11
PA11 peripheral
PA12: PA12
PA12 peripheral
PA13: PA13
PA13 peripheral
PA14: PA14
PA14 peripheral
PA15: PA15
PA15 peripheral
PB0: PB0
PB0 peripheral
PB1: PB1
PB1 peripheral
PB3: PB3
PB3 peripheral
PB4: PB4
PB4 peripheral
PB7: PB7
PB7 peripheral
PB8: PB8
PB8 peripheral
PB15: PB15
PB15 peripheral
PC13: PC13
PC13 peripheral
PC14: PC14
PC14 peripheral
PC15: PC15
PC15 peripheral
PH0: PH0
PH0 peripheral
PH1: PH1
PH1 peripheral
ADC1: ADC1
ADC1 peripheral
ADC12_COMMON: ADC12_COMMON
ADC12_COMMON peripheral
ADC2: ADC2
ADC2 peripheral
AES: AES
AES peripheral
CEC: CEC
CEC peripheral
CRC: CRC
CRC peripheral
CRS: CRS
CRS peripheral
DAC1: DAC1
DAC1 peripheral
DBGMCU: DBGMCU
DBGMCU peripheral
DCACHE1: DCACHE1
DCACHE1 peripheral
DTS: DTS
DTS peripheral
FDCAN1: FDCAN1
FDCAN1 peripheral
FDCAN2: FDCAN2
FDCAN2 peripheral
FDCANRAM1: FDCANRAM1
FDCANRAM1 peripheral
FDCANRAM2: FDCANRAM2
FDCANRAM2 peripheral
FLASH: FLASH
FLASH peripheral
GPDMA1: GPDMA1
GPDMA1 peripheral
GPDMA2: GPDMA2
GPDMA2 peripheral
HASH: HASH
HASH peripheral
I2C1: I2C1
I2C1 peripheral
I2C2: I2C2
I2C2 peripheral
I2C3: I2C3
I2C3 peripheral
I3C1: I3C1
I3C1 peripheral
I3C2: I3C2
I3C2 peripheral
IWDG: IWDG
IWDG peripheral
LPTIM1: LPTIM1
LPTIM1 peripheral
LPTIM2: LPTIM2
LPTIM2 peripheral
LPUART1: LPUART1
LPUART1 peripheral
OCTOSPI1: OCTOSPI1
OCTOSPI1 peripheral
OTFDEC1: OTFDEC1
OTFDEC1 peripheral
PKA: PKA
PKA peripheral
PWR: PWR
PWR peripheral
MCO1: MCO1
MCO1 peripheral
RCC: RCC
RCC peripheral
RNG: RNG
RNG peripheral
RTC: RTC
RTC peripheral
SAES: SAES
SAES peripheral
SPI1: SPI1
SPI1 peripheral
SPI2: SPI2
SPI2 peripheral
SPI3: SPI3
SPI3 peripheral
SPI4: SPI4
SPI4 peripheral
SYSCFG: SYSCFG
SYSCFG peripheral
TAMP: TAMP
TAMP peripheral
TIM1: TIM1
TIM1 peripheral
TIM15: TIM15
TIM15 peripheral
TIM2: TIM2
TIM2 peripheral
TIM3: TIM3
TIM3 peripheral
TIM4: TIM4
TIM4 peripheral
TIM5: TIM5
TIM5 peripheral
TIM6: TIM6
TIM6 peripheral
TIM7: TIM7
TIM7 peripheral
TIM8: TIM8
TIM8 peripheral
UART4: UART4
UART4 peripheral
UART5: UART5
UART5 peripheral
UID: UID
UID peripheral
USART1: USART1
USART1 peripheral
USART2: USART2
USART2 peripheral
USART3: USART3
USART3 peripheral
USART6: USART6
USART6 peripheral
USB: USB
USB peripheral
USBRAM: USBRAM
USBRAM peripheral
VREFBUF: VREFBUF
VREFBUF peripheral
WWDG: WWDG
WWDG peripheral
EXTI0: EXTI0
EXTI0 peripheral
EXTI1: EXTI1
EXTI1 peripheral
EXTI2: EXTI2
EXTI2 peripheral
EXTI3: EXTI3
EXTI3 peripheral
EXTI4: EXTI4
EXTI4 peripheral
EXTI5: EXTI5
EXTI5 peripheral
EXTI6: EXTI6
EXTI6 peripheral
EXTI7: EXTI7
EXTI7 peripheral
EXTI8: EXTI8
EXTI8 peripheral
EXTI9: EXTI9
EXTI9 peripheral
EXTI10: EXTI10
EXTI10 peripheral
EXTI11: EXTI11
EXTI11 peripheral
EXTI12: EXTI12
EXTI12 peripheral
EXTI13: EXTI13
EXTI13 peripheral
EXTI14: EXTI14
EXTI14 peripheral
EXTI15: EXTI15
EXTI15 peripheral
GPDMA1_CH0: GPDMA1_CH0
GPDMA1_CH0 peripheral
GPDMA1_CH1: GPDMA1_CH1
GPDMA1_CH1 peripheral
GPDMA1_CH2: GPDMA1_CH2
GPDMA1_CH2 peripheral
GPDMA1_CH3: GPDMA1_CH3
GPDMA1_CH3 peripheral
GPDMA1_CH4: GPDMA1_CH4
GPDMA1_CH4 peripheral
GPDMA1_CH5: GPDMA1_CH5
GPDMA1_CH5 peripheral
GPDMA1_CH6: GPDMA1_CH6
GPDMA1_CH6 peripheral
GPDMA1_CH7: GPDMA1_CH7
GPDMA1_CH7 peripheral
GPDMA2_CH0: GPDMA2_CH0
GPDMA2_CH0 peripheral
GPDMA2_CH1: GPDMA2_CH1
GPDMA2_CH1 peripheral
GPDMA2_CH2: GPDMA2_CH2
GPDMA2_CH2 peripheral
GPDMA2_CH3: GPDMA2_CH3
GPDMA2_CH3 peripheral
GPDMA2_CH4: GPDMA2_CH4
GPDMA2_CH4 peripheral
GPDMA2_CH5: GPDMA2_CH5
GPDMA2_CH5 peripheral
GPDMA2_CH6: GPDMA2_CH6
GPDMA2_CH6 peripheral
GPDMA2_CH7: GPDMA2_CH7
GPDMA2_CH7 peripheral