[][src]Struct avr_device::atmega48p::Peripherals

pub struct Peripherals {
    pub AC: AC,
    pub ADC: ADC,
    pub CPU: CPU,
    pub EEPROM: EEPROM,
    pub EXINT: EXINT,
    pub FUSE: FUSE,
    pub LOCKBIT: LOCKBIT,
    pub PORTB: PORTB,
    pub PORTC: PORTC,
    pub PORTD: PORTD,
    pub SPI: SPI,
    pub TC0: TC0,
    pub TC1: TC1,
    pub TC2: TC2,
    pub TWI: TWI,
    pub USART0: USART0,
    pub WDT: WDT,
}

All the peripherals

Fields

AC: AC

AC

ADC: ADC

ADC

CPU: CPU

CPU

EEPROM: EEPROM

EEPROM

EXINT: EXINT

EXINT

FUSE: FUSE

FUSE

LOCKBIT: LOCKBIT

LOCKBIT

PORTB: PORTB

PORTB

PORTC: PORTC

PORTC

PORTD: PORTD

PORTD

SPI: SPI

SPI

TC0: TC0

TC0

TC1: TC1

TC1

TC2: TC2

TC2

TWI: TWI

TWI

USART0: USART0

USART0

WDT: WDT

WDT

Implementations

impl Peripherals[src]

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

Unchecked version of Peripherals::take

impl Peripherals[src]

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

Returns all the peripherals once

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, 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.