[−][src]Struct stm32g0::stm32g031::Peripherals
All the peripherals
Fields
IWDG: IWDG
IWDG
WWDG: WWDG
WWDG
FLASH: FLASH
FLASH
RCC: RCC
RCC
PWR: PWR
PWR
DMA: DMA
DMA
DMAMUX: DMAMUX
DMAMUX
GPIOA: GPIOA
GPIOA
GPIOB: GPIOB
GPIOB
GPIOC: GPIOC
GPIOC
GPIOD: GPIOD
GPIOD
GPIOF: GPIOF
GPIOF
RNG: RNG
RNG
CRC: CRC
CRC
EXTI: EXTI
EXTI
TIM16: TIM16
TIM16
TIM17: TIM17
TIM17
USART1: USART1
USART1
USART2: USART2
USART2
SPI1: SPI1
SPI1
SPI2: SPI2
SPI2
TIM1: TIM1
TIM1
ADC: ADC
ADC
SYSCFG: SYSCFG
SYSCFG
TAMP: TAMP
TAMP
LPTIM1: LPTIM1
LPTIM1
LPTIM2: LPTIM2
LPTIM2
LPUART: LPUART
LPUART
I2C1: I2C1
I2C1
I2C2: I2C2
I2C2
RTC: RTC
RTC
TIM14: TIM14
TIM14
TIM2: TIM2
TIM2
TIM3: TIM3
TIM3
STK: STK
STK
VREFBUF: VREFBUF
VREFBUF
DBG: DBG
DBG
NVIC_STIR: NVIC_STIR
NVIC_STIR
SCB_ACTRL: SCB_ACTRL
SCB_ACTRL
FPU_CPACR: FPU_CPACR
FPU_CPACR
FPU: FPU
FPU
SYSCFG_ITLINE: SYSCFG_ITLINE
SYSCFG_ITLINE
Methods
impl Peripherals
[src]
pub fn take() -> Option<Self>
[src]
Returns all the peripherals once
pub unsafe fn steal() -> Self
[src]
Unchecked version of Peripherals::take
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,