Skip to main content

Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 82 fields pub inputmux0: Inputmux0, pub i3c0: I3c0, pub ctimer0: Ctimer0, pub ctimer1: Ctimer1, pub ctimer2: Ctimer2, pub ctimer3: Ctimer3, pub ctimer4: Ctimer4, pub freqme0: Freqme0, pub utick0: Utick0, pub wwdt0: Wwdt0, pub smartdma0: Smartdma0, pub dma0: Dma0, pub edma_0_tcd0: Edma0Tcd0, pub aoi0: Aoi0, pub aoi1: Aoi1, pub crc0: Crc0, pub cmc: Cmc, pub eim0: Eim0, pub erm0: Erm0, pub mbc0: Mbc0, pub scg0: Scg0, pub spc0: Spc0, pub mrcc0: Mrcc0, pub syscon: Syscon, pub glikey0: Glikey0, pub wuu0: Wuu0, pub vbat0: Vbat0, pub fmc0: Fmc0, pub fmu0: Fmu0, pub flexio0: Flexio0, pub lpi2c0: Lpi2c0, pub lpi2c1: Lpi2c1, pub lpi2c2: Lpi2c2, pub lpi2c3: Lpi2c3, pub lpuart5: Lpuart5, pub lpspi0: Lpspi0, pub lpspi1: Lpspi1, pub lpuart0: Lpuart0, pub lpuart1: Lpuart1, pub lpuart2: Lpuart2, pub lpuart3: Lpuart3, pub lpuart4: Lpuart4, pub usb0: Usb0, pub eqdc0: Eqdc0, pub eqdc1: Eqdc1, pub flexpwm0: Flexpwm0, pub flexpwm1: Flexpwm1, pub lptmr0: Lptmr0, pub ostimer0: Ostimer0, pub waketimer0: Waketimer0, pub adc0: Adc0, pub adc1: Adc1, pub cmp0: Cmp0, pub cmp1: Cmp1, pub dac0: Dac0, pub opamp0: Opamp0, pub port0: Port0, pub port1: Port1, pub port2: Port2, pub port3: Port3, pub port4: Port4, pub can0: Can0, pub can1: Can1, pub tdet0: Tdet0, pub pkc0: Pkc0, pub sgi0: Sgi0, pub trng0: Trng0, pub udf0: Udf0, pub rtc0: Rtc0, pub adc2: Adc2, pub adc3: Adc3, pub cdog0: Cdog0, pub cdog1: Cdog1, pub dbgmailbox: Dbgmailbox, pub gpio0: Gpio0, pub gpio1: Gpio1, pub gpio2: Gpio2, pub gpio3: Gpio3, pub gpio4: Gpio4, pub mau0: Mau0, pub scn_scb: ScnScb, pub sau: Sau,
}
Expand description

All the peripherals.

Fields§

§inputmux0: Inputmux0

INPUTMUX0

§i3c0: I3c0

I3C0

§ctimer0: Ctimer0

CTIMER0

§ctimer1: Ctimer1

CTIMER1

§ctimer2: Ctimer2

CTIMER2

§ctimer3: Ctimer3

CTIMER3

§ctimer4: Ctimer4

CTIMER4

§freqme0: Freqme0

FREQME0

§utick0: Utick0

UTICK0

§wwdt0: Wwdt0

WWDT0

§smartdma0: Smartdma0

SMARTDMA0

§dma0: Dma0

DMA0

§edma_0_tcd0: Edma0Tcd0

EDMA_0_TCD0

§aoi0: Aoi0

AOI0

§aoi1: Aoi1

AOI1

§crc0: Crc0

CRC0

§cmc: Cmc

CMC

§eim0: Eim0

EIM0

§erm0: Erm0

ERM0

§mbc0: Mbc0

MBC0

§scg0: Scg0

SCG0

§spc0: Spc0

SPC0

§mrcc0: Mrcc0

MRCC0

§syscon: Syscon

SYSCON

§glikey0: Glikey0

GLIKEY0

§wuu0: Wuu0

WUU0

§vbat0: Vbat0

VBAT0

§fmc0: Fmc0

FMC0

§fmu0: Fmu0

FMU0

§flexio0: Flexio0

FLEXIO0

§lpi2c0: Lpi2c0

LPI2C0

§lpi2c1: Lpi2c1

LPI2C1

§lpi2c2: Lpi2c2

LPI2C2

§lpi2c3: Lpi2c3

LPI2C3

§lpuart5: Lpuart5

LPUART5

§lpspi0: Lpspi0

LPSPI0

§lpspi1: Lpspi1

LPSPI1

§lpuart0: Lpuart0

LPUART0

§lpuart1: Lpuart1

LPUART1

§lpuart2: Lpuart2

LPUART2

§lpuart3: Lpuart3

LPUART3

§lpuart4: Lpuart4

LPUART4

§usb0: Usb0

USB0

§eqdc0: Eqdc0

EQDC0

§eqdc1: Eqdc1

EQDC1

§flexpwm0: Flexpwm0

FLEXPWM0

§flexpwm1: Flexpwm1

FLEXPWM1

§lptmr0: Lptmr0

LPTMR0

§ostimer0: Ostimer0

OSTIMER0

§waketimer0: Waketimer0

WAKETIMER0

§adc0: Adc0

ADC0

§adc1: Adc1

ADC1

§cmp0: Cmp0

CMP0

§cmp1: Cmp1

CMP1

§dac0: Dac0

DAC0

§opamp0: Opamp0

OPAMP0

§port0: Port0

PORT0

§port1: Port1

PORT1

§port2: Port2

PORT2

§port3: Port3

PORT3

§port4: Port4

PORT4

§can0: Can0

CAN0

§can1: Can1

CAN1

§tdet0: Tdet0

TDET0

§pkc0: Pkc0

PKC0

§sgi0: Sgi0

SGI0

§trng0: Trng0

TRNG0

§udf0: Udf0

UDF0

§rtc0: Rtc0

RTC0

§adc2: Adc2

ADC2

§adc3: Adc3

ADC3

§cdog0: Cdog0

CDOG0

§cdog1: Cdog1

CDOG1

§dbgmailbox: Dbgmailbox

DBGMAILBOX

§gpio0: Gpio0

GPIO0

§gpio1: Gpio1

GPIO1

§gpio2: Gpio2

GPIO2

§gpio3: Gpio3

GPIO3

§gpio4: Gpio4

GPIO4

§mau0: Mau0

MAU0

§scn_scb: ScnScb

SCnSCB

§sau: Sau

SAU

Implementations§

Source§

impl Peripherals

Source

pub unsafe fn steal() -> Self

Unchecked version of Peripherals::take.

§Safety

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

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.