[][src]Struct avr_device::atmega32u4::Peripherals

pub struct Peripherals {
    pub AC: AC,
    pub ADC: ADC,
    pub BOOT_LOAD: BOOT_LOAD,
    pub CPU: CPU,
    pub EEPROM: EEPROM,
    pub EXINT: EXINT,
    pub FUSE: FUSE,
    pub JTAG: JTAG,
    pub LOCKBIT: LOCKBIT,
    pub PLL: PLL,
    pub PORTB: PORTB,
    pub PORTC: PORTC,
    pub PORTD: PORTD,
    pub PORTE: PORTE,
    pub PORTF: PORTF,
    pub SPI: SPI,
    pub TC0: TC0,
    pub TC1: TC1,
    pub TC3: TC3,
    pub TC4: TC4,
    pub TWI: TWI,
    pub USART1: USART1,
    pub USB_DEVICE: USB_DEVICE,
    pub WDT: WDT,
}

All the peripherals

Fields

AC: AC

AC

ADC: ADC

ADC

BOOT_LOAD: BOOT_LOAD

BOOT_LOAD

CPU: CPU

CPU

EEPROM: EEPROM

EEPROM

EXINT: EXINT

EXINT

FUSE: FUSE

FUSE

JTAG: JTAG

JTAG

LOCKBIT: LOCKBIT

LOCKBIT

PLL: PLL

PLL

PORTB: PORTB

PORTB

PORTC: PORTC

PORTC

PORTD: PORTD

PORTD

PORTE: PORTE

PORTE

PORTF: PORTF

PORTF

SPI: SPI

SPI

TC0: TC0

TC0

TC1: TC1

TC1

TC3: TC3

TC3

TC4: TC4

TC4

TWI: TWI

TWI

USART1: USART1

USART1

USB_DEVICE: USB_DEVICE

USB_DEVICE

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.