Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 41 fields pub FICR_NS: FICR_NS, pub UICR_NS: UICR_NS, pub CTI_NS: CTI_NS, pub DCNF_NS: DCNF_NS, pub VREQCTRL_NS: VREQCTRL_NS, pub CLOCK_NS: CLOCK_NS, pub POWER_NS: POWER_NS, pub RESET_NS: RESET_NS, pub CTRLAP_NS: CTRLAP_NS, pub RADIO_NS: RADIO_NS, pub RNG_NS: RNG_NS, pub GPIOTE_NS: GPIOTE_NS, pub WDT_NS: WDT_NS, pub TIMER0_NS: TIMER0_NS, pub ECB_NS: ECB_NS, pub AAR_NS: AAR_NS, pub CCM_NS: CCM_NS, pub DPPIC_NS: DPPIC_NS, pub TEMP_NS: TEMP_NS, pub RTC0_NS: RTC0_NS, pub IPC_NS: IPC_NS, pub SPIM0_NS: SPIM0_NS, pub SPIS0_NS: SPIS0_NS, pub TWIM0_NS: TWIM0_NS, pub TWIS0_NS: TWIS0_NS, pub UARTE0_NS: UARTE0_NS, pub EGU0_NS: EGU0_NS, pub RTC1_NS: RTC1_NS, pub TIMER1_NS: TIMER1_NS, pub TIMER2_NS: TIMER2_NS, pub SWI0_NS: SWI0_NS, pub SWI1_NS: SWI1_NS, pub SWI2_NS: SWI2_NS, pub SWI3_NS: SWI3_NS, pub APPMUTEX_NS: APPMUTEX_NS, pub APPMUTEX_S: APPMUTEX_S, pub ACL_NS: ACL_NS, pub NVMC_NS: NVMC_NS, pub VMC_NS: VMC_NS, pub P0_NS: P0_NS, pub P1_NS: P1_NS,
}
Expand description

All the peripherals

Fields§

§FICR_NS: FICR_NS

FICR_NS

§UICR_NS: UICR_NS

UICR_NS

§CTI_NS: CTI_NS

CTI_NS

§DCNF_NS: DCNF_NS

DCNF_NS

§VREQCTRL_NS: VREQCTRL_NS

VREQCTRL_NS

§CLOCK_NS: CLOCK_NS

CLOCK_NS

§POWER_NS: POWER_NS

POWER_NS

§RESET_NS: RESET_NS

RESET_NS

§CTRLAP_NS: CTRLAP_NS

CTRLAP_NS

§RADIO_NS: RADIO_NS

RADIO_NS

§RNG_NS: RNG_NS

RNG_NS

§GPIOTE_NS: GPIOTE_NS

GPIOTE_NS

§WDT_NS: WDT_NS

WDT_NS

§TIMER0_NS: TIMER0_NS

TIMER0_NS

§ECB_NS: ECB_NS

ECB_NS

§AAR_NS: AAR_NS

AAR_NS

§CCM_NS: CCM_NS

CCM_NS

§DPPIC_NS: DPPIC_NS

DPPIC_NS

§TEMP_NS: TEMP_NS

TEMP_NS

§RTC0_NS: RTC0_NS

RTC0_NS

§IPC_NS: IPC_NS

IPC_NS

§SPIM0_NS: SPIM0_NS

SPIM0_NS

§SPIS0_NS: SPIS0_NS

SPIS0_NS

§TWIM0_NS: TWIM0_NS

TWIM0_NS

§TWIS0_NS: TWIS0_NS

TWIS0_NS

§UARTE0_NS: UARTE0_NS

UARTE0_NS

§EGU0_NS: EGU0_NS

EGU0_NS

§RTC1_NS: RTC1_NS

RTC1_NS

§TIMER1_NS: TIMER1_NS

TIMER1_NS

§TIMER2_NS: TIMER2_NS

TIMER2_NS

§SWI0_NS: SWI0_NS

SWI0_NS

§SWI1_NS: SWI1_NS

SWI1_NS

§SWI2_NS: SWI2_NS

SWI2_NS

§SWI3_NS: SWI3_NS

SWI3_NS

§APPMUTEX_NS: APPMUTEX_NS

APPMUTEX_NS

§APPMUTEX_S: APPMUTEX_S

APPMUTEX_S

§ACL_NS: ACL_NS

ACL_NS

§NVMC_NS: NVMC_NS

NVMC_NS

§VMC_NS: VMC_NS

VMC_NS

§P0_NS: P0_NS

P0_NS

§P1_NS: P1_NS

P1_NS

Implementations§

Source§

impl Peripherals

Source

pub fn take() -> Option<Self>

Returns all the peripherals once

Source

pub unsafe fn steal() -> Self

Unchecked version of Peripherals::take

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.