pub struct Peripherals {Show 72 fields
pub PA0: PA0,
pub PA1: PA1,
pub PA2: PA2,
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 PB5: PB5,
pub PB6: PB6,
pub PB7: PB7,
pub PB8: PB8,
pub PB9: PB9,
pub PC14: PC14,
pub PF2: PF2,
pub ADC1: ADC1,
pub ADC1_COMMON: ADC1_COMMON,
pub CRC: CRC,
pub DBGMCU: DBGMCU,
pub DMA1: DMA1,
pub DMAMUX1: DMAMUX1,
pub FLASH: FLASH,
pub I2C1: I2C1,
pub I2C2: I2C2,
pub IWDG: IWDG,
pub LPTIM1: LPTIM1,
pub LPTIM2: LPTIM2,
pub LPUART1: LPUART1,
pub PWR: PWR,
pub MCO1: MCO1,
pub RCC: RCC,
pub RTC: RTC,
pub SPI1: SPI1,
pub SPI2: SPI2,
pub SYSCFG: SYSCFG,
pub TAMP: TAMP,
pub TIM1: TIM1,
pub TIM14: TIM14,
pub TIM16: TIM16,
pub TIM17: TIM17,
pub TIM2: TIM2,
pub UID: UID,
pub USART1: USART1,
pub USART2: USART2,
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 DMA1_CH1: DMA1_CH1,
pub DMA1_CH2: DMA1_CH2,
pub DMA1_CH3: DMA1_CH3,
pub DMA1_CH4: DMA1_CH4,
pub DMA1_CH5: DMA1_CH5,
}
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
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
PB5: PB5
PB5 peripheral
PB6: PB6
PB6 peripheral
PB7: PB7
PB7 peripheral
PB8: PB8
PB8 peripheral
PB9: PB9
PB9 peripheral
PC14: PC14
PC14 peripheral
PF2: PF2
PF2 peripheral
ADC1: ADC1
ADC1 peripheral
ADC1_COMMON: ADC1_COMMON
ADC1_COMMON peripheral
CRC: CRC
CRC peripheral
DBGMCU: DBGMCU
DBGMCU peripheral
DMA1: DMA1
DMA1 peripheral
DMAMUX1: DMAMUX1
DMAMUX1 peripheral
FLASH: FLASH
FLASH peripheral
I2C1: I2C1
I2C1 peripheral
I2C2: I2C2
I2C2 peripheral
IWDG: IWDG
IWDG peripheral
LPTIM1: LPTIM1
LPTIM1 peripheral
LPTIM2: LPTIM2
LPTIM2 peripheral
LPUART1: LPUART1
LPUART1 peripheral
PWR: PWR
PWR peripheral
MCO1: MCO1
MCO1 peripheral
RCC: RCC
RCC peripheral
RTC: RTC
RTC peripheral
SPI1: SPI1
SPI1 peripheral
SPI2: SPI2
SPI2 peripheral
SYSCFG: SYSCFG
SYSCFG peripheral
TAMP: TAMP
TAMP peripheral
TIM1: TIM1
TIM1 peripheral
TIM14: TIM14
TIM14 peripheral
TIM16: TIM16
TIM16 peripheral
TIM17: TIM17
TIM17 peripheral
TIM2: TIM2
TIM2 peripheral
UID: UID
UID peripheral
USART1: USART1
USART1 peripheral
USART2: USART2
USART2 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
DMA1_CH1: DMA1_CH1
DMA1_CH1 peripheral
DMA1_CH2: DMA1_CH2
DMA1_CH2 peripheral
DMA1_CH3: DMA1_CH3
DMA1_CH3 peripheral
DMA1_CH4: DMA1_CH4
DMA1_CH4 peripheral
DMA1_CH5: DMA1_CH5
DMA1_CH5 peripheral