Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 97 fields pub rstctl0: Rstctl0, pub clkctl0: Clkctl0, pub sysctl0: Sysctl0, pub iopctl: Iopctl, pub puf: Puf, pub wwdt0: Wwdt0, pub wwdt1: Wwdt1, pub utick0: Utick0, pub rstctl1: Rstctl1, pub clkctl1: Clkctl1, pub sysctl1: Sysctl1, pub pint: Pint, pub inputmux: Inputmux, pub ctimer0: Ctimer0, pub ctimer1: Ctimer1, pub ctimer2: Ctimer2, pub ctimer3: Ctimer3, pub ctimer4: Ctimer4, pub mrt0: Mrt0, pub freqme: Freqme, pub rtc: Rtc, pub cache64: Cache64, pub cache64_polsel: Cache64Polsel, pub i3c: I3c, pub gpio: Gpio, pub secgpio: Secgpio, pub dma0: Dma0, pub dma1: Dma1, pub flexcomm0: Flexcomm0, pub flexcomm1: Flexcomm1, pub flexcomm2: Flexcomm2, pub flexcomm3: Flexcomm3, pub flexcomm4: Flexcomm4, pub flexcomm5: Flexcomm5, pub flexcomm6: Flexcomm6, pub flexcomm7: Flexcomm7, pub flexcomm14: Flexcomm14, pub flexcomm15: Flexcomm15, pub i2c0: I2c0, pub i2c1: I2c1, pub i2c2: I2c2, pub i2c3: I2c3, pub i2c4: I2c4, pub i2c5: I2c5, pub i2c6: I2c6, pub i2c7: I2c7, pub i2c15: I2c15, pub i2s0: I2s0, pub i2s1: I2s1, pub i2s2: I2s2, pub i2s3: I2s3, pub i2s4: I2s4, pub i2s5: I2s5, pub i2s6: I2s6, pub i2s7: I2s7, pub spi0: Spi0, pub spi1: Spi1, pub spi2: Spi2, pub spi3: Spi3, pub spi4: Spi4, pub spi5: Spi5, pub spi6: Spi6, pub spi7: Spi7, pub spi14: Spi14, pub usart0: Usart0, pub usart1: Usart1, pub usart2: Usart2, pub usart3: Usart3, pub usart4: Usart4, pub usart5: Usart5, pub usart6: Usart6, pub usart7: Usart7, pub mua: Mua, pub sema42: Sema42, pub ostimer0: Ostimer0, pub crc_engine: CrcEngine, pub dmic0: Dmic0, pub ocotp: Ocotp, pub flexspi: Flexspi, pub otfad: Otfad, pub pmc: Pmc, pub usdhc0: Usdhc0, pub usdhc1: Usdhc1, pub trng: Trng, pub cmp: Cmp, pub adc0: Adc0, pub usbphy: Usbphy, pub usbhsdcd: Usbhsdcd, pub usbhsd: Usbhsd, pub usbhsh: Usbhsh, pub sct0: Sct0, pub ahb_secure_ctrl: AhbSecureCtrl, pub powerquad: Powerquad, pub casper: Casper, pub hashcrypt: Hashcrypt, pub scn_scb: ScnScb, pub sau: Sau,
}
Expand description

All the peripherals.

Fields§

§rstctl0: Rstctl0

RSTCTL0

§clkctl0: Clkctl0

CLKCTL0

§sysctl0: Sysctl0

SYSCTL0

§iopctl: Iopctl

IOPCTL

§puf: Puf

PUF

§wwdt0: Wwdt0

WWDT0

§wwdt1: Wwdt1

WWDT1

§utick0: Utick0

UTICK0

§rstctl1: Rstctl1

RSTCTL1

§clkctl1: Clkctl1

CLKCTL1

§sysctl1: Sysctl1

SYSCTL1

§pint: Pint

PINT

§inputmux: Inputmux

INPUTMUX

§ctimer0: Ctimer0

CTIMER0

§ctimer1: Ctimer1

CTIMER1

§ctimer2: Ctimer2

CTIMER2

§ctimer3: Ctimer3

CTIMER3

§ctimer4: Ctimer4

CTIMER4

§mrt0: Mrt0

MRT0

§freqme: Freqme

FREQME

§rtc: Rtc

RTC

§cache64: Cache64

CACHE64

§cache64_polsel: Cache64Polsel

CACHE64_POLSEL

§i3c: I3c

I3C

§gpio: Gpio

GPIO

§secgpio: Secgpio

SECGPIO

§dma0: Dma0

DMA0

§dma1: Dma1

DMA1

§flexcomm0: Flexcomm0

FLEXCOMM0

§flexcomm1: Flexcomm1

FLEXCOMM1

§flexcomm2: Flexcomm2

FLEXCOMM2

§flexcomm3: Flexcomm3

FLEXCOMM3

§flexcomm4: Flexcomm4

FLEXCOMM4

§flexcomm5: Flexcomm5

FLEXCOMM5

§flexcomm6: Flexcomm6

FLEXCOMM6

§flexcomm7: Flexcomm7

FLEXCOMM7

§flexcomm14: Flexcomm14

FLEXCOMM14

§flexcomm15: Flexcomm15

FLEXCOMM15

§i2c0: I2c0

I2C0

§i2c1: I2c1

I2C1

§i2c2: I2c2

I2C2

§i2c3: I2c3

I2C3

§i2c4: I2c4

I2C4

§i2c5: I2c5

I2C5

§i2c6: I2c6

I2C6

§i2c7: I2c7

I2C7

§i2c15: I2c15

I2C15

§i2s0: I2s0

I2S0

§i2s1: I2s1

I2S1

§i2s2: I2s2

I2S2

§i2s3: I2s3

I2S3

§i2s4: I2s4

I2S4

§i2s5: I2s5

I2S5

§i2s6: I2s6

I2S6

§i2s7: I2s7

I2S7

§spi0: Spi0

SPI0

§spi1: Spi1

SPI1

§spi2: Spi2

SPI2

§spi3: Spi3

SPI3

§spi4: Spi4

SPI4

§spi5: Spi5

SPI5

§spi6: Spi6

SPI6

§spi7: Spi7

SPI7

§spi14: Spi14

SPI14

§usart0: Usart0

USART0

§usart1: Usart1

USART1

§usart2: Usart2

USART2

§usart3: Usart3

USART3

§usart4: Usart4

USART4

§usart5: Usart5

USART5

§usart6: Usart6

USART6

§usart7: Usart7

USART7

§mua: Mua

MUA

§sema42: Sema42

SEMA42

§ostimer0: Ostimer0

OSTIMER0

§crc_engine: CrcEngine

CRC_ENGINE

§dmic0: Dmic0

DMIC0

§ocotp: Ocotp

OCOTP

§flexspi: Flexspi

FLEXSPI

§otfad: Otfad

OTFAD

§pmc: Pmc

PMC

§usdhc0: Usdhc0

USDHC0

§usdhc1: Usdhc1

USDHC1

§trng: Trng

TRNG

§cmp: Cmp

CMP

§adc0: Adc0

ADC0

§usbphy: Usbphy

USBPHY

§usbhsdcd: Usbhsdcd

USBHSDCD

§usbhsd: Usbhsd

USBHSD

§usbhsh: Usbhsh

USBHSH

§sct0: Sct0

SCT0

§ahb_secure_ctrl: AhbSecureCtrl

AHB_SECURE_CTRL

§powerquad: Powerquad

POWERQUAD

§casper: Casper

CASPER

§hashcrypt: Hashcrypt

HASHCRYPT

§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.