Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 74 fields pub RMPU: Rmpu, pub TZF: Tzf, pub SRAM: Sram, pub BUS: Bus, pub DMAC0: Dmac0, pub DMAC1: Dmac0, pub DMAC2: Dmac0, pub DMAC3: Dmac0, pub DMAC4: Dmac0, pub DMAC5: Dmac0, pub DMAC6: Dmac0, pub DMAC7: Dmac0, pub DMA: Dma, pub DTC: Dtc, pub ICU: Icu, pub CACHE: Cache, pub CPSCU: Cpscu, pub DBG: Dbg, pub FCACHE: Fcache, pub SYSC: Sysc, pub PORT0: Port0, pub PORT1: Port1, pub PORT2: Port1, pub PORT3: Port1, pub PORT4: Port1, pub PORT5: Port0, pub PORT6: Port0, pub PORT7: Port0, pub PORT8: Port0, pub PFS: Pfs, pub ELC: Elc, pub RTC: Rtc, pub IWDT: Iwdt, pub WDT: Wdt, pub CAC: Cac, pub MSTP: Mstp, pub POEG: Poeg, pub USBFS: Usbfs, pub SDHI0: Sdhi0, pub SSIE0: Ssie0, pub IIC0: Iic0, pub IIC0WU: Iic0Wu, pub IIC1: Iic0, pub CAN0: Can0, pub PSCU: Pscu, pub AGT0: Agt0, pub AGT1: Agt0, pub AGT2: Agt0, pub AGT3: Agt0, pub AGT4: Agt0, pub AGT5: Agt0, pub CRC: Crc, pub DOC: Doc, pub EDMAC0: Edmac0, pub ETHERC0: Etherc0, pub SCI0: Sci0, pub SCI1: Sci1, pub SCI2: Sci2, pub SCI3: Sci3, pub SCI4: Sci3, pub SCI9: Sci0, pub SPI0: Spi0, pub SPI1: Spi0, pub GPT321: Gpt321, pub GPT322: Gpt321, pub GPT164: Gpt164, pub GPT165: Gpt164, pub GPT166: Gpt164, pub GPT167: Gpt164, pub ADC120: Adc120, pub DAC12: Dac12, pub FLAD: Flad, pub FACI: Faci, pub QSPI: Qspi,
}
Expand description

Required for compatibility with RTIC and other frameworks

Fields§

§RMPU: Rmpu§TZF: Tzf§SRAM: Sram§BUS: Bus§DMAC0: Dmac0§DMAC1: Dmac0§DMAC2: Dmac0§DMAC3: Dmac0§DMAC4: Dmac0§DMAC5: Dmac0§DMAC6: Dmac0§DMAC7: Dmac0§DMA: Dma§DTC: Dtc§ICU: Icu§CACHE: Cache§CPSCU: Cpscu§DBG: Dbg§FCACHE: Fcache§SYSC: Sysc§PORT0: Port0§PORT1: Port1§PORT2: Port1§PORT3: Port1§PORT4: Port1§PORT5: Port0§PORT6: Port0§PORT7: Port0§PORT8: Port0§PFS: Pfs§ELC: Elc§RTC: Rtc§IWDT: Iwdt§WDT: Wdt§CAC: Cac§MSTP: Mstp§POEG: Poeg§USBFS: Usbfs§SDHI0: Sdhi0§SSIE0: Ssie0§IIC0: Iic0§IIC0WU: Iic0Wu§IIC1: Iic0§CAN0: Can0§PSCU: Pscu§AGT0: Agt0§AGT1: Agt0§AGT2: Agt0§AGT3: Agt0§AGT4: Agt0§AGT5: Agt0§CRC: Crc§DOC: Doc§EDMAC0: Edmac0§ETHERC0: Etherc0§SCI0: Sci0§SCI1: Sci1§SCI2: Sci2§SCI3: Sci3§SCI4: Sci3§SCI9: Sci0§SPI0: Spi0§SPI1: Spi0§GPT321: Gpt321§GPT322: Gpt321§GPT164: Gpt164§GPT165: Gpt164§GPT166: Gpt164§GPT167: Gpt164§ADC120: Adc120§DAC12: Dac12§FLAD: Flad§FACI: Faci§QSPI: Qspi

Implementations§

Source§

impl Peripherals

Source

pub fn take() -> Option<Self>

Returns Peripheral struct multiple times Required for compatibility with RTIC and other frameworks

Source

pub fn steal() -> Self

Returns Peripheral struct multiple times Required for compatibility with RTIC and other frameworks

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.