pub struct Peripherals {
Show 26 fields pub SPI: SPI, pub TC0: TC0, pub TWI0: TWI0, pub TWI1: TWI1, pub PWM: PWM, pub USART0: USART0, pub USART1: USART1, pub ADC: ADC, pub DACC: DACC, pub TWI2: TWI2, pub UART2: UART2, pub UART3: UART3, pub MATRIX: MATRIX, pub PMC: PMC, pub UART0: UART0, pub CHIPID: CHIPID, pub UART1: UART1, pub EFC: EFC, pub PIOA: PIOA, pub PIOB: PIOB, pub RSTC: RSTC, pub SUPC: SUPC, pub RTT: RTT, pub WDT: WDT, pub RTC: RTC, pub GPBR: GPBR,
}
Expand description

All the peripherals

Fields

SPI: SPI

SPI

TC0: TC0

TC0

TWI0: TWI0

TWI0

TWI1: TWI1

TWI1

PWM: PWM

PWM

USART0: USART0

USART0

USART1: USART1

USART1

ADC: ADC

ADC

DACC: DACC

DACC

TWI2: TWI2

TWI2

UART2: UART2

UART2

UART3: UART3

UART3

MATRIX: MATRIX

MATRIX

PMC: PMC

PMC

UART0: UART0

UART0

CHIPID: CHIPID

CHIPID

UART1: UART1

UART1

EFC: EFC

EFC

PIOA: PIOA

PIOA

PIOB: PIOB

PIOB

RSTC: RSTC

RSTC

SUPC: SUPC

SUPC

RTT: RTT

RTT

WDT: WDT

WDT

RTC: RTC

RTC

GPBR: GPBR

GPBR

Implementations

Returns all the peripherals once

Unchecked version of Peripherals::take

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.