Skip to main content

Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 32 fields pub AES_HASH: AesHash, pub ANAMISC_BIF: AnamiscBif, pub CACHE: Cache, pub CHARGER: Charger, pub CHG_DET: ChgDet, pub CRG_AUD: CrgAud, pub CRG_CTRL: CrgCtrl, pub CRG_GPU: CrgGpu, pub CRG_SNC: CrgSnc, pub CRG_SYS: CrgSys, pub CRG_TOP: CrgTop, pub CRG_VSYS: CrgVsys, pub CRG_XTAL: CrgXtal, pub DCACHE: Dcache, pub DCDC: Dcdc, pub DCDC_BOOST: DcdcBoost, pub DMA: Dma, pub DSI2: Dsi2, pub DSIDPHY_REG: DsidphyReg, pub EMMC: Emmc, pub GPADC: Gpadc, pub GPIO: Gpio, pub GPREG: Gpreg, pub GPU_CORE: GpuCore, pub GPU_REG: GpuReg, pub I2C: I2C, pub I2C2: I2C2, pub I2C3: I2C3, pub I3C: I3C, pub LCDC: Lcdc, pub MEMCTRL: Memctrl, pub OQSPIF: Oqspif,
}
Expand description

Required for compatibility with RTIC and other frameworks

Fields§

§AES_HASH: AesHash§ANAMISC_BIF: AnamiscBif§CACHE: Cache§CHARGER: Charger§CHG_DET: ChgDet§CRG_AUD: CrgAud§CRG_CTRL: CrgCtrl§CRG_GPU: CrgGpu§CRG_SNC: CrgSnc§CRG_SYS: CrgSys§CRG_TOP: CrgTop§CRG_VSYS: CrgVsys§CRG_XTAL: CrgXtal§DCACHE: Dcache§DCDC: Dcdc§DCDC_BOOST: DcdcBoost§DMA: Dma§DSI2: Dsi2§DSIDPHY_REG: DsidphyReg§EMMC: Emmc§GPADC: Gpadc§GPIO: Gpio§GPREG: Gpreg§GPU_CORE: GpuCore§GPU_REG: GpuReg§I2C: I2C§I2C2: I2C2§I2C3: I2C3§I3C: I3C§LCDC: Lcdc§MEMCTRL: Memctrl§OQSPIF: Oqspif

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.