[][src]Struct atsamd21g18a::Peripherals

pub struct Peripherals {
    pub AC: AC,
    pub ADC: ADC,
    pub DAC: DAC,
    pub DMAC: DMAC,
    pub DSU: DSU,
    pub EIC: EIC,
    pub EVSYS: EVSYS,
    pub GCLK: GCLK,
    pub HMATRIX: HMATRIX,
    pub I2S: I2S,
    pub MTB: MTB,
    pub NVMCTRL: NVMCTRL,
    pub PAC0: PAC0,
    pub PAC1: PAC1,
    pub PAC2: PAC2,
    pub PM: PM,
    pub PORT: PORT,
    pub PORT_IOBUS: PORT_IOBUS,
    pub RTC: RTC,
    pub SERCOM0: SERCOM0,
    pub SERCOM1: SERCOM1,
    pub SERCOM2: SERCOM2,
    pub SERCOM3: SERCOM3,
    pub SERCOM4: SERCOM4,
    pub SERCOM5: SERCOM5,
    pub SYSCTRL: SYSCTRL,
    pub TC3: TC3,
    pub TC4: TC4,
    pub TC5: TC5,
    pub TCC0: TCC0,
    pub TCC1: TCC1,
    pub TCC2: TCC2,
    pub USB: USB,
    pub WDT: WDT,
}

All the peripherals

Fields

AC: AC

AC

ADC: ADC

ADC

DAC: DAC

DAC

DMAC: DMAC

DMAC

DSU: DSU

DSU

EIC: EIC

EIC

EVSYS: EVSYS

EVSYS

GCLK: GCLK

GCLK

HMATRIX: HMATRIX

HMATRIX

I2S: I2S

I2S

MTB: MTB

MTB

NVMCTRL: NVMCTRL

NVMCTRL

PAC0: PAC0

PAC0

PAC1: PAC1

PAC1

PAC2: PAC2

PAC2

PM: PM

PM

PORT: PORT

PORT

PORT_IOBUS: PORT_IOBUS

PORT_IOBUS

RTC: RTC

RTC

SERCOM0: SERCOM0

SERCOM0

SERCOM1: SERCOM1

SERCOM1

SERCOM2: SERCOM2

SERCOM2

SERCOM3: SERCOM3

SERCOM3

SERCOM4: SERCOM4

SERCOM4

SERCOM5: SERCOM5

SERCOM5

SYSCTRL: SYSCTRL

SYSCTRL

TC3: TC3

TC3

TC4: TC4

TC4

TC5: TC5

TC5

TCC0: TCC0

TCC0

TCC1: TCC1

TCC1

TCC2: TCC2

TCC2

USB: USB

USB

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

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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