Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 79 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 PORT2: Port2, pub PORTA: Porta, pub PORTB: Portb, pub PORTC: Portc, pub PORTD: Portd, pub PORTE: Porte, pub PFS_B: PfsB, pub IIRFA: Iirfa, pub TFU: Tfu, pub ELC_B: ElcB, pub IWDT: Iwdt, pub WDT: Wdt, pub CAC: Cac, pub MSTP: Mstp, pub KINT: Kint, pub POEG: Poeg, pub CANFD: Canfd, pub PSCU: Pscu, pub AGTW_B0: AgtwB0, pub AGTW_B1: AgtwB0, pub TSN: Tsn, pub ACMPHS0: Acmphs0, pub ACMPHS1: Acmphs0, pub ACMPHS2: Acmphs0, pub ACMPHS3: Acmphs0, pub CRC: Crc, pub DOC_B: DocB, pub SCI_B0: SciB0, pub SCI_B1: SciB0, pub SCI_B2: SciB0, pub SCI_B3: SciB0, pub SCI_B4: SciB0, pub SCI_B9: SciB0, pub SPI_B0: SpiB0, pub SPI_B1: SpiB0, pub IIC_B0: IicB0, pub IIC0WU_B: Iic0WuB, pub IIC_B1: IicB0, pub ECCMB: Eccmb, pub GPT320: Gpt320, pub GPT321: Gpt320, pub GPT322: Gpt320, pub GPT323: Gpt320, pub GPT324: Gpt324, pub GPT325: Gpt324, pub GPT326: Gpt324, pub GPT327: Gpt324, pub GPT328: Gpt324, pub GPT329: Gpt324, pub GPT_OPS: GptOps, pub GPT_GTCLK: GptGtclk, pub PDG: Pdg, pub ADC_B: AdcB, pub DAC120: Dac120, pub DAC121: Dac120, pub TSD: Tsd, pub FLAD: Flad, pub FACI: Faci,
}
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§PORT2: Port2§PORTA: Porta§PORTB: Portb§PORTC: Portc§PORTD: Portd§PORTE: Porte§PFS_B: PfsB§IIRFA: Iirfa§TFU: Tfu§ELC_B: ElcB§IWDT: Iwdt§WDT: Wdt§CAC: Cac§MSTP: Mstp§KINT: Kint§POEG: Poeg§CANFD: Canfd§PSCU: Pscu§AGTW_B0: AgtwB0§AGTW_B1: AgtwB0§TSN: Tsn§ACMPHS0: Acmphs0§ACMPHS1: Acmphs0§ACMPHS2: Acmphs0§ACMPHS3: Acmphs0§CRC: Crc§DOC_B: DocB§SCI_B0: SciB0§SCI_B1: SciB0§SCI_B2: SciB0§SCI_B3: SciB0§SCI_B4: SciB0§SCI_B9: SciB0§SPI_B0: SpiB0§SPI_B1: SpiB0§IIC_B0: IicB0§IIC0WU_B: Iic0WuB§IIC_B1: IicB0§ECCMB: Eccmb§GPT320: Gpt320§GPT321: Gpt320§GPT322: Gpt320§GPT323: Gpt320§GPT324: Gpt324§GPT325: Gpt324§GPT326: Gpt324§GPT327: Gpt324§GPT328: Gpt324§GPT329: Gpt324§GPT_OPS: GptOps§GPT_GTCLK: GptGtclk§PDG: Pdg§ADC_B: AdcB§DAC120: Dac120§DAC121: Dac120§TSD: Tsd§FLAD: Flad§FACI: Faci

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.