pub struct RawResources<'d> {Show 15 fields
pub apb_ctrl: APB_CTRL<'d>,
pub assist_debug: ASSIST_DEBUG<'d>,
pub dma: DMA<'d>,
pub extmem: EXTMEM<'d>,
pub gpio: GPIO<'d>,
pub i2c_ana_mst: I2C_ANA_MST<'d>,
pub interrupt_core0: INTERRUPT_CORE0<'d>,
pub interrupt_core1: INTERRUPT_CORE1<'d>,
pub rtc_timer: RTC_TIMER<'d>,
pub peri_backup: PERI_BACKUP<'d>,
pub rtc_cntl: RTC_CNTL<'d>,
pub sens: SENS<'d>,
pub sensitive: SENSITIVE<'d>,
pub system: SYSTEM<'d>,
pub wcl: WCL<'d>,
}Expand description
Peripherals that are mostly register blocks, for low-level code.
Fields§
§apb_ctrl: APB_CTRL<'d>§assist_debug: ASSIST_DEBUG<'d>§dma: DMA<'d>§extmem: EXTMEM<'d>§gpio: GPIO<'d>§i2c_ana_mst: I2C_ANA_MST<'d>§interrupt_core0: INTERRUPT_CORE0<'d>§interrupt_core1: INTERRUPT_CORE1<'d>§rtc_timer: RTC_TIMER<'d>§peri_backup: PERI_BACKUP<'d>§rtc_cntl: RTC_CNTL<'d>§sens: SENS<'d>§sensitive: SENSITIVE<'d>§system: SYSTEM<'d>§wcl: WCL<'d>Implementations§
Source§impl<'d> RawResources<'d>
impl<'d> RawResources<'d>
Sourcepub fn reborrow(&mut self) -> RawResources<'_>
pub fn reborrow(&mut self) -> RawResources<'_>
A copy of this group that lives only as long as the borrow, to lend the hardware to a function without giving it up.
Auto Trait Implementations§
impl<'d> Freeze for RawResources<'d>
impl<'d> RefUnwindSafe for RawResources<'d>
impl<'d> Send for RawResources<'d>
impl<'d> Sync for RawResources<'d>
impl<'d> Unpin for RawResources<'d>
impl<'d> UnsafeUnpin for RawResources<'d>
impl<'d> !UnwindSafe for RawResources<'d>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
§impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.