[][src]Struct arduino_leonardo::Peripherals

pub struct Peripherals {
    pub PORTB: PORTB,
    pub PORTC: PORTC,
    pub PORTD: PORTD,
    pub PORTE: PORTE,
    pub PORTF: PORTF,
    pub TIMER0: TIMER0,
    pub TIMER1: TIMER1,
    pub TIMER3: TIMER3,
    pub TIMER4: TIMER4,
    pub EXT_INT: EXT_INT,
    pub USB: USB,
}

All the peripherals

Fields

PORTB: PORTB

PORTB

PORTC: PORTC

PORTC

PORTD: PORTD

PORTD

PORTE: PORTE

PORTE

PORTF: PORTF

PORTF

TIMER0: TIMER0

TIMER0

TIMER1: TIMER1

TIMER1

TIMER3: TIMER3

TIMER3

TIMER4: TIMER4

TIMER4

EXT_INT: EXT_INT

EXT_INT

USB: USB

USB

Methods

impl Peripherals[src]

pub unsafe fn steal() -> Peripherals[src]

Unchecked version of Peripherals::take

impl Peripherals[src]

pub fn take() -> Option<Peripherals>[src]

Returns all the peripherals once

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]