embassy-mspm0

Crates

git

Versions

mspm0g3518pz

Flavors

Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 150 fields pub ADC0: Peri<'static, ADC0>, pub ADC1: Peri<'static, ADC1>, pub AESADV: Peri<'static, AESADV>, pub CANFD0: Peri<'static, CANFD0>, pub CANFD1: Peri<'static, CANFD1>, pub COMP0: Peri<'static, COMP0>, pub COMP1: Peri<'static, COMP1>, pub COMP2: Peri<'static, COMP2>, pub CRCP0: Peri<'static, CRCP0>, pub DAC0: Peri<'static, DAC0>, pub DEBUGSS: Peri<'static, DEBUGSS>, pub DMA_CH0: Peri<'static, DMA_CH0>, pub DMA_CH1: Peri<'static, DMA_CH1>, pub DMA_CH10: Peri<'static, DMA_CH10>, pub DMA_CH11: Peri<'static, DMA_CH11>, 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 DMA_CH7: Peri<'static, DMA_CH7>, pub DMA_CH8: Peri<'static, DMA_CH8>, pub DMA_CH9: Peri<'static, DMA_CH9>, 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 MATHACL: Peri<'static, MATHACL>, 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 PA31: Peri<'static, PA31>, 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 PB28: Peri<'static, PB28>, pub PB29: Peri<'static, PB29>, pub PB3: Peri<'static, PB3>, pub PB30: Peri<'static, PB30>, pub PB31: Peri<'static, PB31>, 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 PC0: Peri<'static, PC0>, pub PC1: Peri<'static, PC1>, pub PC10: Peri<'static, PC10>, pub PC11: Peri<'static, PC11>, pub PC12: Peri<'static, PC12>, pub PC13: Peri<'static, PC13>, pub PC14: Peri<'static, PC14>, pub PC15: Peri<'static, PC15>, pub PC16: Peri<'static, PC16>, pub PC17: Peri<'static, PC17>, pub PC18: Peri<'static, PC18>, pub PC19: Peri<'static, PC19>, pub PC2: Peri<'static, PC2>, pub PC20: Peri<'static, PC20>, pub PC21: Peri<'static, PC21>, pub PC22: Peri<'static, PC22>, pub PC23: Peri<'static, PC23>, pub PC24: Peri<'static, PC24>, pub PC25: Peri<'static, PC25>, pub PC26: Peri<'static, PC26>, pub PC27: Peri<'static, PC27>, pub PC28: Peri<'static, PC28>, pub PC29: Peri<'static, PC29>, pub PC3: Peri<'static, PC3>, pub PC4: Peri<'static, PC4>, pub PC5: Peri<'static, PC5>, pub PC6: Peri<'static, PC6>, pub PC7: Peri<'static, PC7>, pub PC8: Peri<'static, PC8>, pub PC9: Peri<'static, PC9>, pub RTC_B: Peri<'static, RTC_B>, pub SPI0: Peri<'static, SPI0>, pub SPI1: Peri<'static, SPI1>, pub SPI2: Peri<'static, SPI2>, pub SYSCTL: Peri<'static, SYSCTL>, pub TIMA0: Peri<'static, TIMA0>, pub TIMA1: Peri<'static, TIMA1>, pub TIMG0: Peri<'static, TIMG0>, pub TIMG12: Peri<'static, TIMG12>, pub TIMG14: Peri<'static, TIMG14>, pub TIMG6: Peri<'static, TIMG6>, pub TIMG7: Peri<'static, TIMG7>, pub TIMG8: Peri<'static, TIMG8>, pub TIMG9: Peri<'static, TIMG9>, pub TRNG: Peri<'static, TRNG>, pub UART0: Peri<'static, UART0>, pub UART1: Peri<'static, UART1>, pub UART3: Peri<'static, UART3>, pub UART4: Peri<'static, UART4>, pub UART5: Peri<'static, UART5>, pub UART6: Peri<'static, UART6>, pub UART7: Peri<'static, UART7>, pub VREF: Peri<'static, VREF>, pub WUC: Peri<'static, WUC>, pub WWDT0: Peri<'static, WWDT0>, pub WWDT1: Peri<'static, WWDT1>,
}
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

§ADC1: Peri<'static, ADC1>

ADC1 peripheral

§AESADV: Peri<'static, AESADV>

AESADV peripheral

§CANFD0: Peri<'static, CANFD0>

CANFD0 peripheral

§CANFD1: Peri<'static, CANFD1>

CANFD1 peripheral

§COMP0: Peri<'static, COMP0>

COMP0 peripheral

§COMP1: Peri<'static, COMP1>

COMP1 peripheral

§COMP2: Peri<'static, COMP2>

COMP2 peripheral

§CRCP0: Peri<'static, CRCP0>

CRCP0 peripheral

§DAC0: Peri<'static, DAC0>

DAC0 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_CH10: Peri<'static, DMA_CH10>

DMA_CH10 peripheral

§DMA_CH11: Peri<'static, DMA_CH11>

DMA_CH11 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

§DMA_CH7: Peri<'static, DMA_CH7>

DMA_CH7 peripheral

§DMA_CH8: Peri<'static, DMA_CH8>

DMA_CH8 peripheral

§DMA_CH9: Peri<'static, DMA_CH9>

DMA_CH9 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

§MATHACL: Peri<'static, MATHACL>

MATHACL 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

§PA31: Peri<'static, PA31>

PA31 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

§PB28: Peri<'static, PB28>

PB28 peripheral

§PB29: Peri<'static, PB29>

PB29 peripheral

§PB3: Peri<'static, PB3>

PB3 peripheral

§PB30: Peri<'static, PB30>

PB30 peripheral

§PB31: Peri<'static, PB31>

PB31 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

§PC0: Peri<'static, PC0>

PC0 peripheral

§PC1: Peri<'static, PC1>

PC1 peripheral

§PC10: Peri<'static, PC10>

PC10 peripheral

§PC11: Peri<'static, PC11>

PC11 peripheral

§PC12: Peri<'static, PC12>

PC12 peripheral

§PC13: Peri<'static, PC13>

PC13 peripheral

§PC14: Peri<'static, PC14>

PC14 peripheral

§PC15: Peri<'static, PC15>

PC15 peripheral

§PC16: Peri<'static, PC16>

PC16 peripheral

§PC17: Peri<'static, PC17>

PC17 peripheral

§PC18: Peri<'static, PC18>

PC18 peripheral

§PC19: Peri<'static, PC19>

PC19 peripheral

§PC2: Peri<'static, PC2>

PC2 peripheral

§PC20: Peri<'static, PC20>

PC20 peripheral

§PC21: Peri<'static, PC21>

PC21 peripheral

§PC22: Peri<'static, PC22>

PC22 peripheral

§PC23: Peri<'static, PC23>

PC23 peripheral

§PC24: Peri<'static, PC24>

PC24 peripheral

§PC25: Peri<'static, PC25>

PC25 peripheral

§PC26: Peri<'static, PC26>

PC26 peripheral

§PC27: Peri<'static, PC27>

PC27 peripheral

§PC28: Peri<'static, PC28>

PC28 peripheral

§PC29: Peri<'static, PC29>

PC29 peripheral

§PC3: Peri<'static, PC3>

PC3 peripheral

§PC4: Peri<'static, PC4>

PC4 peripheral

§PC5: Peri<'static, PC5>

PC5 peripheral

§PC6: Peri<'static, PC6>

PC6 peripheral

§PC7: Peri<'static, PC7>

PC7 peripheral

§PC8: Peri<'static, PC8>

PC8 peripheral

§PC9: Peri<'static, PC9>

PC9 peripheral

§RTC_B: Peri<'static, RTC_B>

RTC_B peripheral

§SPI0: Peri<'static, SPI0>

SPI0 peripheral

§SPI1: Peri<'static, SPI1>

SPI1 peripheral

§SPI2: Peri<'static, SPI2>

SPI2 peripheral

§SYSCTL: Peri<'static, SYSCTL>

SYSCTL peripheral

§TIMA0: Peri<'static, TIMA0>

TIMA0 peripheral

§TIMA1: Peri<'static, TIMA1>

TIMA1 peripheral

§TIMG0: Peri<'static, TIMG0>

TIMG0 peripheral

§TIMG12: Peri<'static, TIMG12>

TIMG12 peripheral

§TIMG14: Peri<'static, TIMG14>

TIMG14 peripheral

§TIMG6: Peri<'static, TIMG6>

TIMG6 peripheral

§TIMG7: Peri<'static, TIMG7>

TIMG7 peripheral

§TIMG8: Peri<'static, TIMG8>

TIMG8 peripheral

§TIMG9: Peri<'static, TIMG9>

TIMG9 peripheral

§TRNG: Peri<'static, TRNG>

TRNG peripheral

§UART0: Peri<'static, UART0>

UART0 peripheral

§UART1: Peri<'static, UART1>

UART1 peripheral

§UART3: Peri<'static, UART3>

UART3 peripheral

§UART4: Peri<'static, UART4>

UART4 peripheral

§UART5: Peri<'static, UART5>

UART5 peripheral

§UART6: Peri<'static, UART6>

UART6 peripheral

§UART7: Peri<'static, UART7>

UART7 peripheral

§VREF: Peri<'static, VREF>

VREF peripheral

§WUC: Peri<'static, WUC>

WUC peripheral

§WWDT0: Peri<'static, WWDT0>

WWDT0 peripheral

§WWDT1: Peri<'static, WWDT1>

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