[][src]Struct ambiq_apollo1_pac::Peripherals

pub struct Peripherals {
    pub ADC: ADC,
    pub CLKGEN: CLKGEN,
    pub CTIMER: CTIMER,
    pub GPIO: GPIO,
    pub IOMSTR0: IOMSTR0,
    pub IOMSTR1: IOMSTR1,
    pub IOSLAVE: IOSLAVE,
    pub MCUCTRL: MCUCTRL,
    pub RSTGEN: RSTGEN,
    pub RTC: RTC,
    pub UART: UART,
    pub VCOMP: VCOMP,
    pub WDT: WDT,
}

All the peripherals

Fields

ADC: ADC

ADC

CLKGEN: CLKGEN

CLKGEN

CTIMER: CTIMER

CTIMER

GPIO: GPIO

GPIO

IOMSTR0: IOMSTR0

IOMSTR0

IOMSTR1: IOMSTR1

IOMSTR1

IOSLAVE: IOSLAVE

IOSLAVE

MCUCTRL: MCUCTRL

MCUCTRL

RSTGEN: RSTGEN

RSTGEN

RTC: RTC

RTC

UART: UART

UART

VCOMP: VCOMP

VCOMP

WDT: WDT

WDT

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

impl Send for Peripherals

impl !Sync for Peripherals

impl Unpin for Peripherals

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.