embassy-mspm0

Crates

git

Versions

mspm0g5187ruy

Flavors

Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 61 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_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 I2S0: Peri<'static, I2S0>, pub IWDT: Peri<'static, IWDT>, pub KEYSTORECTL: Peri<'static, KEYSTORECTL>, pub LFSS: Peri<'static, LFSS>, pub NPU: Peri<'static, NPU>, pub PA0: Peri<'static, PA0>, pub PA1: Peri<'static, PA1>, pub PA10: Peri<'static, PA10>, pub PA11: Peri<'static, PA11>, 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 PA26: Peri<'static, PA26>, pub PA27: Peri<'static, PA27>, pub PA3: Peri<'static, PA3>, pub PA4: Peri<'static, PA4>, pub PA5: Peri<'static, PA5>, pub PA6: Peri<'static, PA6>, pub PA9: Peri<'static, PA9>, pub PB24: Peri<'static, PB24>, pub RTC_B: Peri<'static, RTC_B>, pub SYSCTL: Peri<'static, SYSCTL>, pub TIMA0: Peri<'static, TIMA0>, pub TIMG0: Peri<'static, TIMG0>, pub TIMG6: Peri<'static, TIMG6>, pub TIMG7: Peri<'static, TIMG7>, pub UC0: Peri<'static, UC0>, pub UC1: Peri<'static, UC1>, pub UC2: Peri<'static, UC2>, pub UC3: Peri<'static, UC3>, pub USBFS0: Peri<'static, USBFS0>, 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

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

§I2S0: Peri<'static, I2S0>

I2S0 peripheral

§IWDT: Peri<'static, IWDT>

IWDT peripheral

§KEYSTORECTL: Peri<'static, KEYSTORECTL>

KEYSTORECTL peripheral

§LFSS: Peri<'static, LFSS>

LFSS peripheral

§NPU: Peri<'static, NPU>

NPU 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

§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

§PA26: Peri<'static, PA26>

PA26 peripheral

§PA27: Peri<'static, PA27>

PA27 peripheral

§PA3: Peri<'static, PA3>

PA3 peripheral

§PA4: Peri<'static, PA4>

PA4 peripheral

§PA5: Peri<'static, PA5>

PA5 peripheral

§PA6: Peri<'static, PA6>

PA6 peripheral

§PA9: Peri<'static, PA9>

PA9 peripheral

§PB24: Peri<'static, PB24>

PB24 peripheral

§RTC_B: Peri<'static, RTC_B>

RTC_B peripheral

§SYSCTL: Peri<'static, SYSCTL>

SYSCTL peripheral

§TIMA0: Peri<'static, TIMA0>

TIMA0 peripheral

§TIMG0: Peri<'static, TIMG0>

TIMG0 peripheral

§TIMG6: Peri<'static, TIMG6>

TIMG6 peripheral

§TIMG7: Peri<'static, TIMG7>

TIMG7 peripheral

§UC0: Peri<'static, UC0>

UC0 peripheral

§UC1: Peri<'static, UC1>

UC1 peripheral

§UC2: Peri<'static, UC2>

UC2 peripheral

§UC3: Peri<'static, UC3>

UC3 peripheral

§USBFS0: Peri<'static, USBFS0>

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