pub struct Peripherals {Show 180 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 PA9: PA9,
pub PA10: PA10,
pub PA11: PA11,
pub PA12: PA12,
pub PA13: PA13,
pub PA14: PA14,
pub PA15: PA15,
pub PB0: PB0,
pub PB1: PB1,
pub PB2: PB2,
pub PB3: PB3,
pub PB4: PB4,
pub PB5: PB5,
pub PB6: PB6,
pub PB7: PB7,
pub PB8: PB8,
pub PB9: PB9,
pub PB10: PB10,
pub PB11: PB11,
pub PB12: PB12,
pub PB13: PB13,
pub PB14: PB14,
pub PB15: PB15,
pub PC0: PC0,
pub PC1: PC1,
pub PC10: PC10,
pub PC11: PC11,
pub PC12: PC12,
pub PC13: PC13,
pub PC14: PC14,
pub PC15: PC15,
pub PD7: PD7,
pub PD12: PD12,
pub PH0: PH0,
pub PH1: PH1,
pub PM0: PM0,
pub PM1: PM1,
pub PM2: PM2,
pub PM3: PM3,
pub PM5: PM5,
pub PM6: PM6,
pub PM8: PM8,
pub PM9: PM9,
pub PM11: PM11,
pub PM12: PM12,
pub PM13: PM13,
pub PM14: PM14,
pub PO0: PO0,
pub PO1: PO1,
pub PO2: PO2,
pub PO4: PO4,
pub PO5: PO5,
pub PP0: PP0,
pub PP1: PP1,
pub PP2: PP2,
pub PP3: PP3,
pub PP4: PP4,
pub PP5: PP5,
pub PP6: PP6,
pub PP7: PP7,
pub ADC12_COMMON: ADC12_COMMON,
pub CEC: CEC,
pub CORDIC: CORDIC,
pub CRC: CRC,
pub CRS: CRS,
pub DBGMCU: DBGMCU,
pub DMA2D: DMA2D,
pub DTS: DTS,
pub FDCAN1: FDCAN1,
pub FDCAN2: FDCAN2,
pub FDCANRAM: FDCANRAM,
pub FLASH: FLASH,
pub FMC: FMC,
pub GPDMA1: GPDMA1,
pub HASH: HASH,
pub HPDMA1: HPDMA1,
pub I2C1: I2C1,
pub I2C2: I2C2,
pub I2C3: I2C3,
pub IWDG: IWDG,
pub JPEG: JPEG,
pub LPTIM1: LPTIM1,
pub LPTIM2: LPTIM2,
pub LPTIM3: LPTIM3,
pub LPTIM4: LPTIM4,
pub LPUART1: LPUART1,
pub MDIOS: MDIOS,
pub PWR: PWR,
pub MCO1: MCO1,
pub RCC: RCC,
pub RNG: RNG,
pub RTC: RTC,
pub SAI2: SAI2,
pub SDMMC2: SDMMC2,
pub SPDIFRX1: SPDIFRX1,
pub SPI1: SPI1,
pub SPI2: SPI2,
pub SPI3: SPI3,
pub SPI5: SPI5,
pub SPI6: SPI6,
pub SYSCFG: SYSCFG,
pub TIM1: TIM1,
pub TIM13: TIM13,
pub TIM14: TIM14,
pub TIM15: TIM15,
pub TIM16: TIM16,
pub TIM17: TIM17,
pub TIM2: TIM2,
pub TIM5: TIM5,
pub TIM6: TIM6,
pub TIM7: TIM7,
pub UART4: UART4,
pub UART5: UART5,
pub UART7: UART7,
pub UCPD1: UCPD1,
pub UID: UID,
pub USART1: USART1,
pub USART2: USART2,
pub USART3: USART3,
pub USB_OTG_FS: USB_OTG_FS,
pub USB_OTG_HS: USB_OTG_HS,
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 GPDMA1_CH8: GPDMA1_CH8,
pub GPDMA1_CH9: GPDMA1_CH9,
pub GPDMA1_CH10: GPDMA1_CH10,
pub GPDMA1_CH11: GPDMA1_CH11,
pub GPDMA1_CH12: GPDMA1_CH12,
pub GPDMA1_CH13: GPDMA1_CH13,
pub GPDMA1_CH14: GPDMA1_CH14,
pub GPDMA1_CH15: GPDMA1_CH15,
pub HPDMA1_CH0: HPDMA1_CH0,
pub HPDMA1_CH1: HPDMA1_CH1,
pub HPDMA1_CH2: HPDMA1_CH2,
pub HPDMA1_CH3: HPDMA1_CH3,
pub HPDMA1_CH4: HPDMA1_CH4,
pub HPDMA1_CH5: HPDMA1_CH5,
pub HPDMA1_CH6: HPDMA1_CH6,
pub HPDMA1_CH7: HPDMA1_CH7,
pub HPDMA1_CH8: HPDMA1_CH8,
pub HPDMA1_CH9: HPDMA1_CH9,
pub HPDMA1_CH10: HPDMA1_CH10,
pub HPDMA1_CH11: HPDMA1_CH11,
pub HPDMA1_CH12: HPDMA1_CH12,
pub HPDMA1_CH13: HPDMA1_CH13,
pub HPDMA1_CH14: HPDMA1_CH14,
pub HPDMA1_CH15: HPDMA1_CH15,
}
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
PA9: PA9
PA9 peripheral
PA10: PA10
PA10 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
PB2: PB2
PB2 peripheral
PB3: PB3
PB3 peripheral
PB4: PB4
PB4 peripheral
PB5: PB5
PB5 peripheral
PB6: PB6
PB6 peripheral
PB7: PB7
PB7 peripheral
PB8: PB8
PB8 peripheral
PB9: PB9
PB9 peripheral
PB10: PB10
PB10 peripheral
PB11: PB11
PB11 peripheral
PB12: PB12
PB12 peripheral
PB13: PB13
PB13 peripheral
PB14: PB14
PB14 peripheral
PB15: PB15
PB15 peripheral
PC0: PC0
PC0 peripheral
PC1: PC1
PC1 peripheral
PC10: PC10
PC10 peripheral
PC11: PC11
PC11 peripheral
PC12: PC12
PC12 peripheral
PC13: PC13
PC13 peripheral
PC14: PC14
PC14 peripheral
PC15: PC15
PC15 peripheral
PD7: PD7
PD7 peripheral
PD12: PD12
PD12 peripheral
PH0: PH0
PH0 peripheral
PH1: PH1
PH1 peripheral
PM0: PM0
PM0 peripheral
PM1: PM1
PM1 peripheral
PM2: PM2
PM2 peripheral
PM3: PM3
PM3 peripheral
PM5: PM5
PM5 peripheral
PM6: PM6
PM6 peripheral
PM8: PM8
PM8 peripheral
PM9: PM9
PM9 peripheral
PM11: PM11
PM11 peripheral
PM12: PM12
PM12 peripheral
PM13: PM13
PM13 peripheral
PM14: PM14
PM14 peripheral
PO0: PO0
PO0 peripheral
PO1: PO1
PO1 peripheral
PO2: PO2
PO2 peripheral
PO4: PO4
PO4 peripheral
PO5: PO5
PO5 peripheral
PP0: PP0
PP0 peripheral
PP1: PP1
PP1 peripheral
PP2: PP2
PP2 peripheral
PP3: PP3
PP3 peripheral
PP4: PP4
PP4 peripheral
PP5: PP5
PP5 peripheral
PP6: PP6
PP6 peripheral
PP7: PP7
PP7 peripheral
ADC12_COMMON: ADC12_COMMON
ADC12_COMMON peripheral
CEC: CEC
CEC peripheral
CORDIC: CORDIC
CORDIC peripheral
CRC: CRC
CRC peripheral
CRS: CRS
CRS peripheral
DBGMCU: DBGMCU
DBGMCU peripheral
DMA2D: DMA2D
DMA2D peripheral
DTS: DTS
DTS peripheral
FDCAN1: FDCAN1
FDCAN1 peripheral
FDCAN2: FDCAN2
FDCAN2 peripheral
FDCANRAM: FDCANRAM
FDCANRAM peripheral
FLASH: FLASH
FLASH peripheral
FMC: FMC
FMC peripheral
GPDMA1: GPDMA1
GPDMA1 peripheral
HASH: HASH
HASH peripheral
HPDMA1: HPDMA1
HPDMA1 peripheral
I2C1: I2C1
I2C1 peripheral
I2C2: I2C2
I2C2 peripheral
I2C3: I2C3
I2C3 peripheral
IWDG: IWDG
IWDG peripheral
JPEG: JPEG
JPEG peripheral
LPTIM1: LPTIM1
LPTIM1 peripheral
LPTIM2: LPTIM2
LPTIM2 peripheral
LPTIM3: LPTIM3
LPTIM3 peripheral
LPTIM4: LPTIM4
LPTIM4 peripheral
LPUART1: LPUART1
LPUART1 peripheral
MDIOS: MDIOS
MDIOS peripheral
PWR: PWR
PWR peripheral
MCO1: MCO1
MCO1 peripheral
RCC: RCC
RCC peripheral
RNG: RNG
RNG peripheral
RTC: RTC
RTC peripheral
SAI2: SAI2
SAI2 peripheral
SDMMC2: SDMMC2
SDMMC2 peripheral
SPDIFRX1: SPDIFRX1
SPDIFRX1 peripheral
SPI1: SPI1
SPI1 peripheral
SPI2: SPI2
SPI2 peripheral
SPI3: SPI3
SPI3 peripheral
SPI5: SPI5
SPI5 peripheral
SPI6: SPI6
SPI6 peripheral
SYSCFG: SYSCFG
SYSCFG peripheral
TIM1: TIM1
TIM1 peripheral
TIM13: TIM13
TIM13 peripheral
TIM14: TIM14
TIM14 peripheral
TIM15: TIM15
TIM15 peripheral
TIM16: TIM16
TIM16 peripheral
TIM17: TIM17
TIM17 peripheral
TIM2: TIM2
TIM2 peripheral
TIM5: TIM5
TIM5 peripheral
TIM6: TIM6
TIM6 peripheral
TIM7: TIM7
TIM7 peripheral
UART4: UART4
UART4 peripheral
UART5: UART5
UART5 peripheral
UART7: UART7
UART7 peripheral
UCPD1: UCPD1
UCPD1 peripheral
UID: UID
UID peripheral
USART1: USART1
USART1 peripheral
USART2: USART2
USART2 peripheral
USART3: USART3
USART3 peripheral
USB_OTG_FS: USB_OTG_FS
USB_OTG_FS peripheral
USB_OTG_HS: USB_OTG_HS
USB_OTG_HS 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
GPDMA1_CH8: GPDMA1_CH8
GPDMA1_CH8 peripheral
GPDMA1_CH9: GPDMA1_CH9
GPDMA1_CH9 peripheral
GPDMA1_CH10: GPDMA1_CH10
GPDMA1_CH10 peripheral
GPDMA1_CH11: GPDMA1_CH11
GPDMA1_CH11 peripheral
GPDMA1_CH12: GPDMA1_CH12
GPDMA1_CH12 peripheral
GPDMA1_CH13: GPDMA1_CH13
GPDMA1_CH13 peripheral
GPDMA1_CH14: GPDMA1_CH14
GPDMA1_CH14 peripheral
GPDMA1_CH15: GPDMA1_CH15
GPDMA1_CH15 peripheral
HPDMA1_CH0: HPDMA1_CH0
HPDMA1_CH0 peripheral
HPDMA1_CH1: HPDMA1_CH1
HPDMA1_CH1 peripheral
HPDMA1_CH2: HPDMA1_CH2
HPDMA1_CH2 peripheral
HPDMA1_CH3: HPDMA1_CH3
HPDMA1_CH3 peripheral
HPDMA1_CH4: HPDMA1_CH4
HPDMA1_CH4 peripheral
HPDMA1_CH5: HPDMA1_CH5
HPDMA1_CH5 peripheral
HPDMA1_CH6: HPDMA1_CH6
HPDMA1_CH6 peripheral
HPDMA1_CH7: HPDMA1_CH7
HPDMA1_CH7 peripheral
HPDMA1_CH8: HPDMA1_CH8
HPDMA1_CH8 peripheral
HPDMA1_CH9: HPDMA1_CH9
HPDMA1_CH9 peripheral
HPDMA1_CH10: HPDMA1_CH10
HPDMA1_CH10 peripheral
HPDMA1_CH11: HPDMA1_CH11
HPDMA1_CH11 peripheral
HPDMA1_CH12: HPDMA1_CH12
HPDMA1_CH12 peripheral
HPDMA1_CH13: HPDMA1_CH13
HPDMA1_CH13 peripheral
HPDMA1_CH14: HPDMA1_CH14
HPDMA1_CH14 peripheral
HPDMA1_CH15: HPDMA1_CH15
HPDMA1_CH15 peripheral