pub struct Peripherals {
Show 32 fields pub HSMCI: HSMCI, pub SSC: SSC, pub SPI: SPI, pub TC0: TC0, pub TC1: TC1, pub TWI0: TWI0, pub TWI1: TWI1, pub PWM: PWM, pub USART0: USART0, pub USART1: USART1, pub UDP: UDP, pub ADC: ADC, pub DACC: DACC, pub ACC: ACC, pub CRCCU: CRCCU, pub CMCC: CMCC, pub SMC: SMC, pub MATRIX: MATRIX, pub PMC: PMC, pub UART0: UART0, pub CHIPID: CHIPID, pub UART1: UART1, pub EFC0: EFC0, pub PIOA: PIOA, pub PIOB: PIOB, pub PIOC: PIOC, pub RSTC: RSTC, pub SUPC: SUPC, pub RTT: RTT, pub WDT: WDT, pub RTC: RTC, pub GPBR: GPBR,
}
Expand description

All the peripherals.

Fields§

§HSMCI: HSMCI

HSMCI

§SSC: SSC

SSC

§SPI: SPI

SPI

§TC0: TC0

TC0

§TC1: TC1

TC1

§TWI0: TWI0

TWI0

§TWI1: TWI1

TWI1

§PWM: PWM

PWM

§USART0: USART0

USART0

§USART1: USART1

USART1

§UDP: UDP

UDP

§ADC: ADC

ADC

§DACC: DACC

DACC

§ACC: ACC

ACC

§CRCCU: CRCCU

CRCCU

§CMCC: CMCC

CMCC

§SMC: SMC

SMC

§MATRIX: MATRIX

MATRIX

§PMC: PMC

PMC

§UART0: UART0

UART0

§CHIPID: CHIPID

CHIPID

§UART1: UART1

UART1

§EFC0: EFC0

EFC0

§PIOA: PIOA

PIOA

§PIOB: PIOB

PIOB

§PIOC: PIOC

PIOC

§RSTC: RSTC

RSTC

§SUPC: SUPC

SUPC

§RTT: RTT

RTT

§WDT: WDT

WDT

§RTC: RTC

RTC

§GPBR: GPBR

GPBR

Implementations§

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.