Struct stm32wlxx_hal::pac::Peripherals
pub struct Peripherals {Show 48 fields
pub ADC: ADC,
pub AES: AES,
pub COMP: COMP,
pub CRC: CRC,
pub DAC: DAC,
pub DBGMCU: DBGMCU,
pub DMA1: DMA1,
pub DMA2: DMA2,
pub DMAMUX: DMAMUX,
pub EXTI: EXTI,
pub FLASH: FLASH,
pub GPIOA: GPIOA,
pub GPIOB: GPIOB,
pub GPIOC: GPIOC,
pub GPIOH: GPIOH,
pub HSEM: HSEM,
pub I2C1: I2C1,
pub I2C2: I2C2,
pub I2C3: I2C3,
pub IPCC: IPCC,
pub IWDG: IWDG,
pub LPTIM1: LPTIM1,
pub LPTIM2: LPTIM2,
pub LPTIM3: LPTIM3,
pub LPUART: LPUART,
pub NVIC_STIR: NVIC_STIR,
pub PKA: PKA,
pub PWR: PWR,
pub RCC: RCC,
pub RNG: RNG,
pub RTC: RTC,
pub SCB_ACTRL: SCB_ACTRL,
pub SPI1: SPI1,
pub SPI2: SPI2,
pub SPI3: SPI3,
pub STK: STK,
pub SYSCFG: SYSCFG,
pub TAMP: TAMP,
pub TIM1: TIM1,
pub TIM2: TIM2,
pub TIM16: TIM16,
pub TIM17: TIM17,
pub TZIC: TZIC,
pub TZSC: TZSC,
pub USART1: USART1,
pub USART2: USART2,
pub VREFBUF: VREFBUF,
pub WWDG: WWDG,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
All the peripherals
Fields§
§ADC: ADC
ADC
AES: AES
AES
COMP: COMP
COMP
CRC: CRC
CRC
DAC: DAC
DAC
DBGMCU: DBGMCU
DBGMCU
DMA1: DMA1
DMA1
DMA2: DMA2
DMA2
DMAMUX: DMAMUX
DMAMUX
EXTI: EXTI
EXTI
FLASH: FLASH
FLASH
GPIOA: GPIOA
GPIOA
GPIOB: GPIOB
GPIOB
GPIOC: GPIOC
GPIOC
GPIOH: GPIOH
GPIOH
HSEM: HSEM
HSEM
I2C1: I2C1
I2C1
I2C2: I2C2
I2C2
I2C3: I2C3
I2C3
IPCC: IPCC
IPCC
IWDG: IWDG
IWDG
LPTIM1: LPTIM1
LPTIM1
LPTIM2: LPTIM2
LPTIM2
LPTIM3: LPTIM3
LPTIM3
LPUART: LPUART
LPUART
NVIC_STIR: NVIC_STIR
NVIC_STIR
PKA: PKA
PKA
PWR: PWR
PWR
RCC: RCC
RCC
RNG: RNG
RNG
RTC: RTC
RTC
SCB_ACTRL: SCB_ACTRL
SCB_ACTRL
SPI1: SPI1
SPI1
SPI2: SPI2
SPI2
SPI3: SPI3
SPI3
STK: STK
STK
SYSCFG: SYSCFG
SYSCFG
TAMP: TAMP
TAMP
TIM1: TIM1
TIM1
TIM2: TIM2
TIM2
TIM16: TIM16
TIM16
TIM17: TIM17
TIM17
TZIC: TZIC
TZIC
TZSC: TZSC
TZSC
USART1: USART1
USART1
USART2: USART2
USART2
VREFBUF: VREFBUF
VREFBUF
WWDG: WWDG
WWDG
Implementations§
§impl Peripherals
impl Peripherals
pub fn take() -> Option<Peripherals>
pub fn take() -> Option<Peripherals>
Returns all the peripherals once
pub unsafe fn steal() -> Peripherals
pub unsafe fn steal() -> Peripherals
Unchecked version of Peripherals::take
Auto Trait Implementations§
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