embassy-mspm0

Crates

git

Versions

mspm0l1227pm

Flavors

Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 95 fields pub ADC0: Peri<'static, ADC0>, pub AESADV: Peri<'static, AESADV>, pub COMP0: Peri<'static, COMP0>, pub CRCP0: Peri<'static, CRCP0>, pub DEBUGSS: Peri<'static, DEBUGSS>, pub DMA_CH0: Peri<'static, DMA_CH0>, pub DMA_CH1: Peri<'static, DMA_CH1>, pub DMA_CH2: Peri<'static, DMA_CH2>, pub DMA_CH3: Peri<'static, DMA_CH3>, pub DMA_CH4: Peri<'static, DMA_CH4>, pub DMA_CH5: Peri<'static, DMA_CH5>, pub DMA_CH6: Peri<'static, DMA_CH6>, pub EVENT: Peri<'static, EVENT>, pub FLASHCTL: Peri<'static, FLASHCTL>, pub GPAMP: Peri<'static, GPAMP>, pub I2C0: Peri<'static, I2C0>, pub I2C1: Peri<'static, I2C1>, pub I2C2: Peri<'static, I2C2>, pub KEYSTORECTL: Peri<'static, KEYSTORECTL>, pub LFSS: Peri<'static, LFSS>, pub PA0: Peri<'static, PA0>, pub PA1: Peri<'static, PA1>, pub PA10: Peri<'static, PA10>, pub PA11: Peri<'static, PA11>, pub PA12: Peri<'static, PA12>, pub PA13: Peri<'static, PA13>, pub PA14: Peri<'static, PA14>, pub PA15: Peri<'static, PA15>, pub PA16: Peri<'static, PA16>, pub PA17: Peri<'static, PA17>, pub PA18: Peri<'static, PA18>, pub PA2: Peri<'static, PA2>, pub PA21: Peri<'static, PA21>, pub PA22: Peri<'static, PA22>, pub PA23: Peri<'static, PA23>, pub PA24: Peri<'static, PA24>, pub PA25: Peri<'static, PA25>, pub PA26: Peri<'static, PA26>, pub PA27: Peri<'static, PA27>, pub PA28: Peri<'static, PA28>, pub PA29: Peri<'static, PA29>, pub PA3: Peri<'static, PA3>, pub PA30: Peri<'static, PA30>, pub PA4: Peri<'static, PA4>, pub PA5: Peri<'static, PA5>, pub PA6: Peri<'static, PA6>, pub PA7: Peri<'static, PA7>, pub PA8: Peri<'static, PA8>, pub PA9: Peri<'static, PA9>, pub PB0: Peri<'static, PB0>, pub PB1: Peri<'static, PB1>, pub PB10: Peri<'static, PB10>, pub PB11: Peri<'static, PB11>, pub PB12: Peri<'static, PB12>, pub PB13: Peri<'static, PB13>, pub PB14: Peri<'static, PB14>, pub PB15: Peri<'static, PB15>, pub PB16: Peri<'static, PB16>, pub PB17: Peri<'static, PB17>, pub PB18: Peri<'static, PB18>, pub PB19: Peri<'static, PB19>, pub PB2: Peri<'static, PB2>, pub PB20: Peri<'static, PB20>, pub PB21: Peri<'static, PB21>, pub PB22: Peri<'static, PB22>, pub PB23: Peri<'static, PB23>, pub PB24: Peri<'static, PB24>, pub PB25: Peri<'static, PB25>, pub PB26: Peri<'static, PB26>, pub PB27: Peri<'static, PB27>, pub PB3: Peri<'static, PB3>, pub PB4: Peri<'static, PB4>, pub PB5: Peri<'static, PB5>, pub PB6: Peri<'static, PB6>, pub PB7: Peri<'static, PB7>, pub PB8: Peri<'static, PB8>, pub PB9: Peri<'static, PB9>, pub SPI0: Peri<'static, SPI0>, pub SPI1: Peri<'static, SPI1>, pub SYSCTL: Peri<'static, SYSCTL>, pub TIMA0: Peri<'static, TIMA0>, pub TIMG0: Peri<'static, TIMG0>, pub TIMG12: Peri<'static, TIMG12>, pub TIMG4: Peri<'static, TIMG4>, pub TIMG5: Peri<'static, TIMG5>, pub TIMG8: Peri<'static, TIMG8>, pub TRNG: Peri<'static, TRNG>, pub UART0: Peri<'static, UART0>, pub UART1: Peri<'static, UART1>, pub UART2: Peri<'static, UART2>, pub UART3: Peri<'static, UART3>, pub UART4: Peri<'static, UART4>, pub VREF: Peri<'static, VREF>, pub WUC: Peri<'static, WUC>, pub WWDT0: Peri<'static, WWDT0>,
}
Expand description

Struct containing all the peripheral singletons.

To obtain the peripherals, you must initialize the HAL, by calling crate::init.

Fieldsยง

ยงADC0: Peri<'static, ADC0>

ADC0 peripheral

ยงAESADV: Peri<'static, AESADV>

AESADV peripheral

ยงCOMP0: Peri<'static, COMP0>

COMP0 peripheral

ยงCRCP0: Peri<'static, CRCP0>

CRCP0 peripheral

ยงDEBUGSS: Peri<'static, DEBUGSS>

DEBUGSS peripheral

ยงDMA_CH0: Peri<'static, DMA_CH0>

DMA_CH0 peripheral

ยงDMA_CH1: Peri<'static, DMA_CH1>

DMA_CH1 peripheral

ยงDMA_CH2: Peri<'static, DMA_CH2>

DMA_CH2 peripheral

ยงDMA_CH3: Peri<'static, DMA_CH3>

DMA_CH3 peripheral

ยงDMA_CH4: Peri<'static, DMA_CH4>

DMA_CH4 peripheral

ยงDMA_CH5: Peri<'static, DMA_CH5>

DMA_CH5 peripheral

ยงDMA_CH6: Peri<'static, DMA_CH6>

DMA_CH6 peripheral

ยงEVENT: Peri<'static, EVENT>

EVENT peripheral

ยงFLASHCTL: Peri<'static, FLASHCTL>

FLASHCTL peripheral

ยงGPAMP: Peri<'static, GPAMP>

GPAMP peripheral

ยงI2C0: Peri<'static, I2C0>

I2C0 peripheral

ยงI2C1: Peri<'static, I2C1>

I2C1 peripheral

ยงI2C2: Peri<'static, I2C2>

I2C2 peripheral

ยงKEYSTORECTL: Peri<'static, KEYSTORECTL>

KEYSTORECTL peripheral

ยงLFSS: Peri<'static, LFSS>

LFSS peripheral

ยงPA0: Peri<'static, PA0>

PA0 peripheral

ยงPA1: Peri<'static, PA1>

PA1 peripheral

ยงPA10: Peri<'static, PA10>

PA10 peripheral

ยงPA11: Peri<'static, PA11>

PA11 peripheral

ยงPA12: Peri<'static, PA12>

PA12 peripheral

ยงPA13: Peri<'static, PA13>

PA13 peripheral

ยงPA14: Peri<'static, PA14>

PA14 peripheral

ยงPA15: Peri<'static, PA15>

PA15 peripheral

ยงPA16: Peri<'static, PA16>

PA16 peripheral

ยงPA17: Peri<'static, PA17>

PA17 peripheral

ยงPA18: Peri<'static, PA18>

PA18 peripheral

ยงPA2: Peri<'static, PA2>

PA2 peripheral

ยงPA21: Peri<'static, PA21>

PA21 peripheral

ยงPA22: Peri<'static, PA22>

PA22 peripheral

ยงPA23: Peri<'static, PA23>

PA23 peripheral

ยงPA24: Peri<'static, PA24>

PA24 peripheral

ยงPA25: Peri<'static, PA25>

PA25 peripheral

ยงPA26: Peri<'static, PA26>

PA26 peripheral

ยงPA27: Peri<'static, PA27>

PA27 peripheral

ยงPA28: Peri<'static, PA28>

PA28 peripheral

ยงPA29: Peri<'static, PA29>

PA29 peripheral

ยงPA3: Peri<'static, PA3>

PA3 peripheral

ยงPA30: Peri<'static, PA30>

PA30 peripheral

ยงPA4: Peri<'static, PA4>

PA4 peripheral

ยงPA5: Peri<'static, PA5>

PA5 peripheral

ยงPA6: Peri<'static, PA6>

PA6 peripheral

ยงPA7: Peri<'static, PA7>

PA7 peripheral

ยงPA8: Peri<'static, PA8>

PA8 peripheral

ยงPA9: Peri<'static, PA9>

PA9 peripheral

ยงPB0: Peri<'static, PB0>

PB0 peripheral

ยงPB1: Peri<'static, PB1>

PB1 peripheral

ยงPB10: Peri<'static, PB10>

PB10 peripheral

ยงPB11: Peri<'static, PB11>

PB11 peripheral

ยงPB12: Peri<'static, PB12>

PB12 peripheral

ยงPB13: Peri<'static, PB13>

PB13 peripheral

ยงPB14: Peri<'static, PB14>

PB14 peripheral

ยงPB15: Peri<'static, PB15>

PB15 peripheral

ยงPB16: Peri<'static, PB16>

PB16 peripheral

ยงPB17: Peri<'static, PB17>

PB17 peripheral

ยงPB18: Peri<'static, PB18>

PB18 peripheral

ยงPB19: Peri<'static, PB19>

PB19 peripheral

ยงPB2: Peri<'static, PB2>

PB2 peripheral

ยงPB20: Peri<'static, PB20>

PB20 peripheral

ยงPB21: Peri<'static, PB21>

PB21 peripheral

ยงPB22: Peri<'static, PB22>

PB22 peripheral

ยงPB23: Peri<'static, PB23>

PB23 peripheral

ยงPB24: Peri<'static, PB24>

PB24 peripheral

ยงPB25: Peri<'static, PB25>

PB25 peripheral

ยงPB26: Peri<'static, PB26>

PB26 peripheral

ยงPB27: Peri<'static, PB27>

PB27 peripheral

ยงPB3: Peri<'static, PB3>

PB3 peripheral

ยงPB4: Peri<'static, PB4>

PB4 peripheral

ยงPB5: Peri<'static, PB5>

PB5 peripheral

ยงPB6: Peri<'static, PB6>

PB6 peripheral

ยงPB7: Peri<'static, PB7>

PB7 peripheral

ยงPB8: Peri<'static, PB8>

PB8 peripheral

ยงPB9: Peri<'static, PB9>

PB9 peripheral

ยงSPI0: Peri<'static, SPI0>

SPI0 peripheral

ยงSPI1: Peri<'static, SPI1>

SPI1 peripheral

ยงSYSCTL: Peri<'static, SYSCTL>

SYSCTL peripheral

ยงTIMA0: Peri<'static, TIMA0>

TIMA0 peripheral

ยงTIMG0: Peri<'static, TIMG0>

TIMG0 peripheral

ยงTIMG12: Peri<'static, TIMG12>

TIMG12 peripheral

ยงTIMG4: Peri<'static, TIMG4>

TIMG4 peripheral

ยงTIMG5: Peri<'static, TIMG5>

TIMG5 peripheral

ยงTIMG8: Peri<'static, TIMG8>

TIMG8 peripheral

ยงTRNG: Peri<'static, TRNG>

TRNG peripheral

ยงUART0: Peri<'static, UART0>

UART0 peripheral

ยงUART1: Peri<'static, UART1>

UART1 peripheral

ยงUART2: Peri<'static, UART2>

UART2 peripheral

ยงUART3: Peri<'static, UART3>

UART3 peripheral

ยงUART4: Peri<'static, UART4>

UART4 peripheral

ยงVREF: Peri<'static, VREF>

VREF peripheral

ยงWUC: Peri<'static, WUC>

WUC peripheral

ยงWWDT0: Peri<'static, WWDT0>

WWDT0 peripheral

Implementationsยง

Sourceยง

impl Peripherals

Source

pub unsafe fn steal() -> Self

Unsafely create an instance of this peripheral out of thin air.

ยงSafety

You must ensure that youโ€™re only using one instance of this type at a time.

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> Az for T

Sourceยง

fn az<Dst>(self) -> Dst
where T: Cast<Dst>,

Casts the value.
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<Src, Dst> CastFrom<Src> for Dst
where Src: Cast<Dst>,

Sourceยง

fn cast_from(src: Src) -> Dst

Casts the value.
Sourceยง

impl<T> CheckedAs for T

Sourceยง

fn checked_as<Dst>(self) -> Option<Dst>
where T: CheckedCast<Dst>,

Casts the value.
Sourceยง

impl<Src, Dst> CheckedCastFrom<Src> for Dst
where Src: CheckedCast<Dst>,

Sourceยง

fn checked_cast_from(src: Src) -> Option<Dst>

Casts the value.
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<Src, Dst> LosslessTryInto<Dst> for Src
where Dst: LosslessTryFrom<Src>,

Sourceยง

fn lossless_try_into(self) -> Option<Dst>

Performs the conversion.
Sourceยง

impl<Src, Dst> LossyInto<Dst> for Src
where Dst: LossyFrom<Src>,

Sourceยง

fn lossy_into(self) -> Dst

Performs the conversion.
Sourceยง

impl<T> OverflowingAs for T

Sourceยง

fn overflowing_as<Dst>(self) -> (Dst, bool)
where T: OverflowingCast<Dst>,

Casts the value.
Sourceยง

impl<Src, Dst> OverflowingCastFrom<Src> for Dst
where Src: OverflowingCast<Dst>,

Sourceยง

fn overflowing_cast_from(src: Src) -> (Dst, bool)

Casts the value.
Sourceยง

impl<T> Same for T

Sourceยง

type Output = T

Should always be Self
Sourceยง

impl<T> SaturatingAs for T

Sourceยง

fn saturating_as<Dst>(self) -> Dst
where T: SaturatingCast<Dst>,

Casts the value.
Sourceยง

impl<Src, Dst> SaturatingCastFrom<Src> for Dst
where Src: SaturatingCast<Dst>,

Sourceยง

fn saturating_cast_from(src: Src) -> Dst

Casts the value.
Sourceยง

impl<T> StrictAs for T

Sourceยง

fn strict_as<Dst>(self) -> Dst
where T: StrictCast<Dst>,

Casts the value.
Sourceยง

impl<Src, Dst> StrictCastFrom<Src> for Dst
where Src: StrictCast<Dst>,

Sourceยง

fn strict_cast_from(src: Src) -> Dst

Casts the value.
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.
Sourceยง

impl<T> UnwrappedAs for T

Sourceยง

fn unwrapped_as<Dst>(self) -> Dst
where T: UnwrappedCast<Dst>,

Casts the value.
Sourceยง

impl<Src, Dst> UnwrappedCastFrom<Src> for Dst
where Src: UnwrappedCast<Dst>,

Sourceยง

fn unwrapped_cast_from(src: Src) -> Dst

Casts the value.
Sourceยง

impl<T> WrappingAs for T

Sourceยง

fn wrapping_as<Dst>(self) -> Dst
where T: WrappingCast<Dst>,

Casts the value.
Sourceยง

impl<Src, Dst> WrappingCastFrom<Src> for Dst
where Src: WrappingCast<Dst>,

Sourceยง

fn wrapping_cast_from(src: Src) -> Dst

Casts the value.