pub struct Peripherals {Show 83 fields
pub CRC: Periph<RegisterBlock, 1073885184>,
pub IWDG: Periph<RegisterBlock, 1073754112>,
pub WWDG: Periph<RegisterBlock, 1073753088>,
pub I2C1: Periph<RegisterBlock, 1073763328>,
pub I2C2: Periph<RegisterBlock, 1073764352>,
pub I2C3: Periph<RegisterBlock, 1073772544>,
pub I2C4: Periph<RegisterBlock, 1073775616>,
pub FLASH: Periph<RegisterBlock, 1073881088>,
pub DBGMCU: Periph<RegisterBlock, 3758366720>,
pub RCC: Periph<RegisterBlock, 1073876992>,
pub PWR: Periph<RegisterBlock, 1073770496>,
pub RNG: Periph<RegisterBlock, 1342572544>,
pub GPIOA: Periph<RegisterBlock, 1207959552>,
pub GPIOB: Periph<RegisterBlock, 1207960576>,
pub GPIOC: Periph<RegisterBlock, 1207961600>,
pub GPIOD: Periph<RegisterBlock, 1207962624>,
pub GPIOE: Periph<RegisterBlock, 1207963648>,
pub GPIOF: Periph<RegisterBlock, 1207964672>,
pub GPIOG: Periph<RegisterBlock, 1207965696>,
pub TIM15: Periph<RegisterBlock, 1073823744>,
pub TIM16: Periph<RegisterBlock, 1073824768>,
pub TIM17: Periph<RegisterBlock, 1073825792>,
pub TIM1: Periph<RegisterBlock, 1073818624>,
pub TIM20: Periph<RegisterBlock, 1073827840>,
pub TIM8: Periph<RegisterBlock, 1073820672>,
pub TIM2: Periph<RegisterBlock, 1073741824>,
pub TIM3: Periph<RegisterBlock, 1073742848>,
pub TIM4: Periph<RegisterBlock, 1073743872>,
pub TIM5: Periph<RegisterBlock, 1073744896>,
pub TIM6: Periph<RegisterBlock, 1073745920>,
pub TIM7: Periph<RegisterBlock, 1073746944>,
pub LPTIMER1: Periph<RegisterBlock, 1073773568>,
pub USART1: Periph<RegisterBlock, 1073821696>,
pub USART2: Periph<RegisterBlock, 1073759232>,
pub USART3: Periph<RegisterBlock, 1073760256>,
pub UART4: Periph<RegisterBlock, 1073761280>,
pub UART5: Periph<RegisterBlock, 1073762304>,
pub LPUART1: Periph<RegisterBlock, 1073774592>,
pub SPI1: Periph<RegisterBlock, 1073819648>,
pub SPI4: Periph<RegisterBlock, 1073822720>,
pub SPI3: Periph<RegisterBlock, 1073757184>,
pub SPI2: Periph<RegisterBlock, 1073756160>,
pub EXTI: Periph<RegisterBlock, 1073808384>,
pub RTC: Periph<RegisterBlock, 1073752064>,
pub FMC: Periph<RegisterBlock, 2684354560>,
pub DMA1: Periph<RegisterBlock, 1073872896>,
pub DMA2: Periph<RegisterBlock, 1073873920>,
pub DMAMUX: Periph<RegisterBlock, 1073874944>,
pub SYSCFG: Periph<RegisterBlock, 1073807360>,
pub VREFBUF: Periph<RegisterBlock, 1073807408>,
pub COMP: Periph<RegisterBlock, 1073807872>,
pub OPAMP: Periph<RegisterBlock, 1073808128>,
pub HRTIM_MASTER: Periph<RegisterBlock, 1073833984>,
pub HRTIM_TIMA: Periph<RegisterBlock, 1073834112>,
pub HRTIM_TIMB: Periph<RegisterBlock, 1073834240>,
pub HRTIM_TIMC: Periph<RegisterBlock, 1073834368>,
pub HRTIM_TIMD: Periph<RegisterBlock, 1073834496>,
pub HRTIM_TIME: Periph<RegisterBlock, 1073834624>,
pub HRTIM_TIMF: Periph<RegisterBlock, 1073834752>,
pub HRTIM_COMMON: Periph<RegisterBlock, 1073834880>,
pub QUADSPI: Periph<RegisterBlock, 2684358656>,
pub DAC1: Periph<RegisterBlock, 1342179328>,
pub DAC2: Periph<RegisterBlock, 1342180352>,
pub DAC3: Periph<RegisterBlock, 1342181376>,
pub DAC4: Periph<RegisterBlock, 1342182400>,
pub ADC1: Periph<RegisterBlock, 1342177280>,
pub ADC2: Periph<RegisterBlock, 1342177536>,
pub ADC3: Periph<RegisterBlock, 1342178304>,
pub ADC4: Periph<RegisterBlock, 1342178560>,
pub ADC5: Periph<RegisterBlock, 1342178816>,
pub ADC12_COMMON: Periph<RegisterBlock, 1342178048>,
pub ADC345_COMMON: Periph<RegisterBlock, 1342179072>,
pub FMAC: Periph<RegisterBlock, 1073878016>,
pub CORDIC: Periph<RegisterBlock, 1073875968>,
pub SAI: Periph<RegisterBlock, 1073828864>,
pub TAMP: Periph<RegisterBlock, 1073751040>,
pub FDCAN: Periph<RegisterBlock, 1073783808>,
pub FDCAN1: Periph<RegisterBlock, 1073767424>,
pub FDCAN2: Periph<RegisterBlock, 1073768448>,
pub FDCAN3: Periph<RegisterBlock, 1073769472>,
pub UCPD1: Periph<RegisterBlock, 1073782784>,
pub USB: Periph<RegisterBlock, 1073765376>,
pub CRS: Periph<RegisterBlock, 1073750016>,
}
Expand description
All the peripherals.
Fields§
§CRC: Periph<RegisterBlock, 1073885184>
CRC
IWDG: Periph<RegisterBlock, 1073754112>
IWDG
WWDG: Periph<RegisterBlock, 1073753088>
WWDG
I2C1: Periph<RegisterBlock, 1073763328>
I2C1
I2C2: Periph<RegisterBlock, 1073764352>
I2C2
I2C3: Periph<RegisterBlock, 1073772544>
I2C3
I2C4: Periph<RegisterBlock, 1073775616>
I2C4
FLASH: Periph<RegisterBlock, 1073881088>
FLASH
DBGMCU: Periph<RegisterBlock, 3758366720>
DBGMCU
RCC: Periph<RegisterBlock, 1073876992>
RCC
PWR: Periph<RegisterBlock, 1073770496>
PWR
RNG: Periph<RegisterBlock, 1342572544>
RNG
GPIOA: Periph<RegisterBlock, 1207959552>
GPIOA
GPIOB: Periph<RegisterBlock, 1207960576>
GPIOB
GPIOC: Periph<RegisterBlock, 1207961600>
GPIOC
GPIOD: Periph<RegisterBlock, 1207962624>
GPIOD
GPIOE: Periph<RegisterBlock, 1207963648>
GPIOE
GPIOF: Periph<RegisterBlock, 1207964672>
GPIOF
GPIOG: Periph<RegisterBlock, 1207965696>
GPIOG
TIM15: Periph<RegisterBlock, 1073823744>
TIM15
TIM16: Periph<RegisterBlock, 1073824768>
TIM16
TIM17: Periph<RegisterBlock, 1073825792>
TIM17
TIM1: Periph<RegisterBlock, 1073818624>
TIM1
TIM20: Periph<RegisterBlock, 1073827840>
TIM20
TIM8: Periph<RegisterBlock, 1073820672>
TIM8
TIM2: Periph<RegisterBlock, 1073741824>
TIM2
TIM3: Periph<RegisterBlock, 1073742848>
TIM3
TIM4: Periph<RegisterBlock, 1073743872>
TIM4
TIM5: Periph<RegisterBlock, 1073744896>
TIM5
TIM6: Periph<RegisterBlock, 1073745920>
TIM6
TIM7: Periph<RegisterBlock, 1073746944>
TIM7
LPTIMER1: Periph<RegisterBlock, 1073773568>
LPTIMER1
USART1: Periph<RegisterBlock, 1073821696>
USART1
USART2: Periph<RegisterBlock, 1073759232>
USART2
USART3: Periph<RegisterBlock, 1073760256>
USART3
UART4: Periph<RegisterBlock, 1073761280>
UART4
UART5: Periph<RegisterBlock, 1073762304>
UART5
LPUART1: Periph<RegisterBlock, 1073774592>
LPUART1
SPI1: Periph<RegisterBlock, 1073819648>
SPI1
SPI4: Periph<RegisterBlock, 1073822720>
SPI4
SPI3: Periph<RegisterBlock, 1073757184>
SPI3
SPI2: Periph<RegisterBlock, 1073756160>
SPI2
EXTI: Periph<RegisterBlock, 1073808384>
EXTI
RTC: Periph<RegisterBlock, 1073752064>
RTC
FMC: Periph<RegisterBlock, 2684354560>
FMC
DMA1: Periph<RegisterBlock, 1073872896>
DMA1
DMA2: Periph<RegisterBlock, 1073873920>
DMA2
DMAMUX: Periph<RegisterBlock, 1073874944>
DMAMUX
SYSCFG: Periph<RegisterBlock, 1073807360>
SYSCFG
VREFBUF: Periph<RegisterBlock, 1073807408>
VREFBUF
COMP: Periph<RegisterBlock, 1073807872>
COMP
OPAMP: Periph<RegisterBlock, 1073808128>
OPAMP
HRTIM_MASTER: Periph<RegisterBlock, 1073833984>
HRTIM_Master
HRTIM_TIMA: Periph<RegisterBlock, 1073834112>
HRTIM_TIMA
HRTIM_TIMB: Periph<RegisterBlock, 1073834240>
HRTIM_TIMB
HRTIM_TIMC: Periph<RegisterBlock, 1073834368>
HRTIM_TIMC
HRTIM_TIMD: Periph<RegisterBlock, 1073834496>
HRTIM_TIMD
HRTIM_TIME: Periph<RegisterBlock, 1073834624>
HRTIM_TIME
HRTIM_TIMF: Periph<RegisterBlock, 1073834752>
HRTIM_TIMF
HRTIM_COMMON: Periph<RegisterBlock, 1073834880>
HRTIM_Common
QUADSPI: Periph<RegisterBlock, 2684358656>
QUADSPI
DAC1: Periph<RegisterBlock, 1342179328>
DAC1
DAC2: Periph<RegisterBlock, 1342180352>
DAC2
DAC3: Periph<RegisterBlock, 1342181376>
DAC3
DAC4: Periph<RegisterBlock, 1342182400>
DAC4
ADC1: Periph<RegisterBlock, 1342177280>
ADC1
ADC2: Periph<RegisterBlock, 1342177536>
ADC2
ADC3: Periph<RegisterBlock, 1342178304>
ADC3
ADC4: Periph<RegisterBlock, 1342178560>
ADC4
ADC5: Periph<RegisterBlock, 1342178816>
ADC5
ADC12_COMMON: Periph<RegisterBlock, 1342178048>
ADC12_Common
ADC345_COMMON: Periph<RegisterBlock, 1342179072>
ADC345_Common
FMAC: Periph<RegisterBlock, 1073878016>
FMAC
CORDIC: Periph<RegisterBlock, 1073875968>
CORDIC
SAI: Periph<RegisterBlock, 1073828864>
SAI
TAMP: Periph<RegisterBlock, 1073751040>
TAMP
FDCAN: Periph<RegisterBlock, 1073783808>
FDCAN
FDCAN1: Periph<RegisterBlock, 1073767424>
FDCAN1
FDCAN2: Periph<RegisterBlock, 1073768448>
FDCAN2
FDCAN3: Periph<RegisterBlock, 1073769472>
FDCAN3
UCPD1: Periph<RegisterBlock, 1073782784>
UCPD1
USB: Periph<RegisterBlock, 1073765376>
USB
CRS: Periph<RegisterBlock, 1073750016>
CRS
Implementations§
Source§impl Peripherals
impl Peripherals
Sourcepub fn take() -> Option<Peripherals>
pub fn take() -> Option<Peripherals>
Returns all the peripherals once.
Sourcepub unsafe fn steal() -> Peripherals
pub unsafe fn steal() -> Peripherals
Unchecked version of Peripherals::take
.
§Safety
Each of the returned peripherals must be used at most once.
Auto Trait Implementations§
impl Freeze for Peripherals
impl !RefUnwindSafe for Peripherals
impl Send for Peripherals
impl !Sync for Peripherals
impl Unpin for Peripherals
impl UnwindSafe for Peripherals
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more