[−][src]Struct stm32f0xx_hal::stm32::Peripherals
All the peripherals
Fields
CRC: CRCCRC
GPIOF: GPIOFGPIOF
GPIOD: GPIODGPIOD
GPIOC: GPIOCGPIOC
GPIOB: GPIOBGPIOB
GPIOE: GPIOEGPIOE
GPIOA: GPIOAGPIOA
SPI1: SPI1SPI1
SPI2: SPI2SPI2
DAC: DACDAC
PWR: PWRPWR
I2C1: I2C1I2C1
I2C2: I2C2I2C2
IWDG: IWDGIWDG
WWDG: WWDGWWDG
TIM1: TIM1TIM1
TIM2: TIM2TIM2
TIM3: TIM3TIM3
TIM14: TIM14TIM14
TIM6: TIM6TIM6
TIM7: TIM7TIM7
EXTI: EXTIEXTI
DMA1: DMA1DMA1
RCC: RCCRCC
SYSCFG: SYSCFGSYSCFG
ADC: ADCADC
USART1: USART1USART1
USART2: USART2USART2
USART3: USART3USART3
USART4: USART4USART4
RTC: RTCRTC
TIM15: TIM15TIM15
TIM16: TIM16TIM16
TIM17: TIM17TIM17
TSC: TSCTSC
CEC: CECCEC
FLASH: FLASHFLASH
DBGMCU: DBGMCUDBGMCU
USB: USBUSB
CRS: CRSCRS
CAN: CANCAN
STK: STKSTK
COMP: COMPCOMP
Methods
impl Peripherals[src]
pub fn take() -> Option<Peripherals>[src]
Returns all the peripherals once
pub unsafe fn steal() -> Peripherals[src]
Unchecked version of Peripherals::take
Auto Trait Implementations
impl Send for Peripherals
impl !Sync for Peripherals
Blanket Implementations
impl<T> From for T[src]
impl<T, U> TryFrom 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 for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self