pub struct Peripherals {
Show 35 fields pub WDT: WDT, pub TIMER0: TIMER0, pub TIMER1: TIMER1, pub UART0: UART0, pub UART1: UART1, pub PWM1: PWM1, pub I2C0: I2C0, pub SPI: SPI, pub RTC: RTC, pub GPIOINT: GPIOINT, pub PINCONNECT: PINCONNECT, pub SSP1: SSP1, pub ADC: ADC, pub CANAFRAM: CANAFRAM, pub CANAF: CANAF, pub CCAN: CCAN, pub CAN1: CAN1, pub CAN2: CAN2, pub I2C1: I2C1, pub SSP0: SSP0, pub DAC: DAC, pub TIMER2: TIMER2, pub TIMER3: TIMER3, pub UART2: UART2, pub UART3: UART3, pub I2C2: I2C2, pub I2S: I2S, pub RITIMER: RITIMER, pub MCPWM: MCPWM, pub QEI: QEI, pub SYSCON: SYSCON, pub EMAC: EMAC, pub GPDMA: GPDMA, pub USB: USB, pub GPIO: GPIO,
}
Expand description

All the peripherals

Fields

WDT: WDT

WDT

TIMER0: TIMER0

TIMER0

TIMER1: TIMER1

TIMER1

UART0: UART0

UART0

UART1: UART1

UART1

PWM1: PWM1

PWM1

I2C0: I2C0

I2C0

SPI: SPI

SPI

RTC: RTC

RTC

GPIOINT: GPIOINT

GPIOINT

PINCONNECT: PINCONNECT

PINCONNECT

SSP1: SSP1

SSP1

ADC: ADC

ADC

CANAFRAM: CANAFRAM

CANAFRAM

CANAF: CANAF

CANAF

CCAN: CCAN

CCAN

CAN1: CAN1

CAN1

CAN2: CAN2

CAN2

I2C1: I2C1

I2C1

SSP0: SSP0

SSP0

DAC: DAC

DAC

TIMER2: TIMER2

TIMER2

TIMER3: TIMER3

TIMER3

UART2: UART2

UART2

UART3: UART3

UART3

I2C2: I2C2

I2C2

I2S: I2S

I2S

RITIMER: RITIMER

RITIMER

MCPWM: MCPWM

MCPWM

QEI: QEI

QEI

SYSCON: SYSCON

SYSCON

EMAC: EMAC

EMAC

GPDMA: GPDMA

GPDMA

USB: USB

USB

GPIO: GPIO

GPIO

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.