Struct mspm0l130x::Peripherals

source ·
pub struct Peripherals {
Show 25 fields pub UART0: UART0, pub FLASHCTL: FLASHCTL, pub SPI0: SPI0, pub I2C0: I2C0, pub CPUSS: CPUSS, pub GPIOA: GPIOA, pub UART1: UART1, pub WWDT0: WWDT0, pub DEBUGSS: DEBUGSS, pub VREF: VREF, pub CRC: CRC, pub OPA0: OPA0, pub TIMG1: TIMG1, pub DMA: DMA, pub COMP0: COMP0, pub SYSCTL: SYSCTL, pub OPA1: OPA1, pub I2C1: I2C1, pub IOMUX: IOMUX, pub TIMG2: TIMG2, pub TIMG4: TIMG4, pub ADC0: ADC0, pub ADC0_SVT: ADC0_SVT, pub WUC: WUC, pub TIMG0: TIMG0,
}
Expand description

All the peripherals.

Fields§

§UART0: UART0

UART0

§FLASHCTL: FLASHCTL

FLASHCTL

§SPI0: SPI0

SPI0

§I2C0: I2C0

I2C0

§CPUSS: CPUSS

CPUSS

§GPIOA: GPIOA

GPIOA

§UART1: UART1

UART1

§WWDT0: WWDT0

WWDT0

§DEBUGSS: DEBUGSS

DEBUGSS

§VREF: VREF

VREF

§CRC: CRC

CRC

§OPA0: OPA0

OPA0

§TIMG1: TIMG1

TIMG1

§DMA: DMA

DMA

§COMP0: COMP0

COMP0

§SYSCTL: SYSCTL

SYSCTL

§OPA1: OPA1

OPA1

§I2C1: I2C1

I2C1

§IOMUX: IOMUX

IOMUX

§TIMG2: TIMG2

TIMG2

§TIMG4: TIMG4

TIMG4

§ADC0: ADC0

ADC0

§ADC0_SVT: ADC0_SVT

ADC0_SVT

§WUC: WUC

WUC

§TIMG0: TIMG0

TIMG0

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

§

type Output = T

Should always be Self
source§

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

§

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>,

§

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.