[][src]Struct lpc81x_pac::Peripherals

pub struct Peripherals {
    pub WWDT: WWDT,
    pub MRT: MRT,
    pub WKT: WKT,
    pub SWM: SWM,
    pub PMU: PMU,
    pub CMP: CMP,
    pub FLASHCTRL: FLASHCTRL,
    pub IOCON: IOCON,
    pub SYSCON: SYSCON,
    pub I2C: I2C,
    pub SPI0: SPI0,
    pub SPI1: SPI1,
    pub USART0: USART0,
    pub USART1: USART1,
    pub USART2: USART2,
    pub CRC: CRC,
    pub SCT: SCT,
    pub GPIO_PORT: GPIO_PORT,
    pub PIN_INT: PIN_INT,
}

All the peripherals

Fields

WWDT: WWDT

WWDT

MRT: MRT

MRT

WKT: WKT

WKT

SWM: SWM

SWM

PMU: PMU

PMU

CMP: CMP

CMP

FLASHCTRL: FLASHCTRL

FLASHCTRL

IOCON: IOCON

IOCON

SYSCON: SYSCON

SYSCON

I2C: I2C

I2C

SPI0: SPI0

SPI0

SPI1: SPI1

SPI1

USART0: USART0

USART0

USART1: USART1

USART1

USART2: USART2

USART2

CRC: CRC

CRC

SCT: SCT

SCT

GPIO_PORT: GPIO_PORT

GPIO_PORT

PIN_INT: PIN_INT

PIN_INT

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, 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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self