pub struct Peripherals {
Show 44 fields pub AC0: AC0, pub ADC0: ADC0, pub BOD: BOD, pub CCL: CCL, pub CLKCTRL: CLKCTRL, pub CPU: CPU, pub CPUINT: CPUINT, pub CRCSCAN: CRCSCAN, pub EVSYS: EVSYS, pub FUSE: FUSE, pub GPIO: GPIO, pub LOCKBIT: LOCKBIT, pub NVMCTRL: NVMCTRL, pub PORTA: PORTA, pub PORTB: PORTB, pub PORTC: PORTC, pub PORTD: PORTD, pub PORTE: PORTE, pub PORTF: PORTF, pub PORTMUX: PORTMUX, pub RSTCTRL: RSTCTRL, pub RTC: RTC, pub SIGROW: SIGROW, pub SLPCTRL: SLPCTRL, pub SPI0: SPI0, pub SYSCFG: SYSCFG, pub TCB0: TCB0, pub TCB1: TCB1, pub TCB2: TCB2, pub TCB3: TCB3, pub TWI0: TWI0, pub USART0: USART0, pub USART1: USART1, pub USART2: USART2, pub USART3: USART3, pub USERROW: USERROW, pub VPORTA: VPORTA, pub VPORTB: VPORTB, pub VPORTC: VPORTC, pub VPORTD: VPORTD, pub VPORTE: VPORTE, pub VPORTF: VPORTF, pub VREF: VREF, pub WDT: WDT,
}
Expand description

All the peripherals.

Fields§

§AC0: AC0

AC0

§ADC0: ADC0

ADC0

§BOD: BOD

BOD

§CCL: CCL

CCL

§CLKCTRL: CLKCTRL

CLKCTRL

§CPU: CPU

CPU

§CPUINT: CPUINT

CPUINT

§CRCSCAN: CRCSCAN

CRCSCAN

§EVSYS: EVSYS

EVSYS

§FUSE: FUSE

FUSE

§GPIO: GPIO

GPIO

§LOCKBIT: LOCKBIT

LOCKBIT

§NVMCTRL: NVMCTRL

NVMCTRL

§PORTA: PORTA

PORTA

§PORTB: PORTB

PORTB

§PORTC: PORTC

PORTC

§PORTD: PORTD

PORTD

§PORTE: PORTE

PORTE

§PORTF: PORTF

PORTF

§PORTMUX: PORTMUX

PORTMUX

§RSTCTRL: RSTCTRL

RSTCTRL

§RTC: RTC

RTC

§SIGROW: SIGROW

SIGROW

§SLPCTRL: SLPCTRL

SLPCTRL

§SPI0: SPI0

SPI0

§SYSCFG: SYSCFG

SYSCFG

§TCB0: TCB0

TCB0

§TCB1: TCB1

TCB1

§TCB2: TCB2

TCB2

§TCB3: TCB3

TCB3

§TWI0: TWI0

TWI0

§USART0: USART0

USART0

§USART1: USART1

USART1

§USART2: USART2

USART2

§USART3: USART3

USART3

§USERROW: USERROW

USERROW

§VPORTA: VPORTA

VPORTA

§VPORTB: VPORTB

VPORTB

§VPORTC: VPORTC

VPORTC

§VPORTD: VPORTD

VPORTD

§VPORTE: VPORTE

VPORTE

§VPORTF: VPORTF

VPORTF

§VREF: VREF

VREF

§WDT: WDT

WDT

Implementations§

Returns all the peripherals once.

Unchecked version of Peripherals::take.

Safety

Each of the returned peripherals must be used at most once.

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.