Sysctl0

Struct Sysctl0 

Source
pub struct Sysctl0 { /* private fields */ }
Expand description

system controller 0

Implementations§

Source§

impl Sysctl0

Source

pub const PTR: *const RegisterBlock = {0x40002000 as *const sysctl0::RegisterBlock}

Pointer to the register block

Source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

Source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

Source

pub fn dspstall(&self) -> &Dspstall

0x0c - DSP stall register

Source

pub fn ahbmatrixprior(&self) -> &Ahbmatrixprior

0x10 - AHB matrix priority

Source

pub fn packerenable(&self) -> &Packerenable

0x14 - Packer enable for DSP RAM packer

Source

pub fn m33nmisrcsel(&self) -> &M33nmisrcsel

0x30 - M33 nmi source selection

Source

pub fn system_stick_calib(&self) -> &SystemStickCalib

0x34 - system stick calibration

Source

pub fn system_nstick_calib(&self) -> &SystemNstickCalib

0x38 - system nstick calibration

Source

pub fn product_id(&self) -> &ProductId

0x60 - product ID

Source

pub fn siliconrev_id(&self) -> &SiliconrevId

0x64 - SILICONREV ID

Source

pub fn jtag_id(&self) -> &JtagId

0x68 - jtag ID

Source

pub fn autoclkgateoverride0(&self) -> &Autoclkgateoverride0

0x80 - auto clock gating override 0

Source

pub fn autoclkgateoverride1(&self) -> &Autoclkgateoverride1

0x84 - auto clock gating override 1

Source

pub fn clkgateoverride0(&self) -> &Clkgateoverride0

0xa0 - Clock gate override 0

Source

pub fn ahb_sram_access_disable(&self) -> &AhbSramAccessDisable

0x100 - AHB SRAM access disable

Source

pub fn dsp_sram_access_disable(&self) -> &DspSramAccessDisable

0x104 - DSP SRAM access disable

Source

pub fn ahb_flexspi_access_disable(&self) -> &AhbFlexspiAccessDisable

0x138 - AHB Flexspi access control

Source

pub fn dsp_flexspi_access_disable(&self) -> &DspFlexspiAccessDisable

0x13c - DSP Flexspi access control

Source

pub fn flexspi_bootrom_scratch0(&self) -> &FlexspiBootromScratch0

0x380 - FLEXSPI NOR flash configure context register

Source

pub fn usbclkctrl(&self) -> &Usbclkctrl

0x40c - USB clock control

Source

pub fn usbclkstat(&self) -> &Usbclkstat

0x410 - USB clock status

Source

pub fn usbphypll0locktimediv2(&self) -> &Usbphypll0locktimediv2

0x414 - USB PHY PLL0 lock time division 2

Source

pub fn pdsleepcfg0(&self) -> &Pdsleepcfg0

0x600 - Sleep configuration 0

Source

pub fn pdsleepcfg1(&self) -> &Pdsleepcfg1

0x604 - Sleep configuration 1

Source

pub fn pdsleepcfg2(&self) -> &Pdsleepcfg2

0x608 - Sleep configuration 2

Source

pub fn pdsleepcfg3(&self) -> &Pdsleepcfg3

0x60c - Sleep configuration 3

Source

pub fn pdruncfg0(&self) -> &Pdruncfg0

0x610 - Run configuration 0

Source

pub fn pdruncfg1(&self) -> &Pdruncfg1

0x614 - Run configuration 1

Source

pub fn pdruncfg2(&self) -> &Pdruncfg2

0x618 - Run configuration 2

Source

pub fn pdruncfg3(&self) -> &Pdruncfg3

0x61c - Run configuration 3

Source

pub fn pdruncfg0_set(&self) -> &Pdruncfg0Set

0x620 - Run configuration 0 set

Source

pub fn pdruncfg1_set(&self) -> &Pdruncfg1Set

0x624 - Run configuration 1 set

Source

pub fn pdruncfg2_set(&self) -> &Pdruncfg2Set

0x628 - Run configuration 2 set

Source

pub fn pdruncfg3_set(&self) -> &Pdruncfg3Set

0x62c - Run configuration 3 set

Source

pub fn pdruncfg0_clr(&self) -> &Pdruncfg0Clr

0x630 - Run configuration 0 clear

Source

pub fn pdruncfg1_clr(&self) -> &Pdruncfg1Clr

0x634 - Run configuration 1 clear

Source

pub fn pdruncfg2_clr(&self) -> &Pdruncfg2Clr

0x638 - Run configuration 2 clear

Source

pub fn pdruncfg3_clr(&self) -> &Pdruncfg3Clr

0x63c - Run configuration 3 clear

Source

pub fn pdwakecfg(&self) -> &Pdwakecfg

0x660 - PD Wake Configuration

Source

pub fn starten0(&self) -> &Starten0

0x680 - Start enable 0

Source

pub fn starten1(&self) -> &Starten1

0x684 - Start enable 1

Source

pub fn starten0_set(&self) -> &Starten0Set

0x6a0 - Start enable 0 set

Source

pub fn starten1_set(&self) -> &Starten1Set

0x6a4 - Start enable 1 set

Source

pub fn starten0_clr(&self) -> &Starten0Clr

0x6c0 - Start enable 0 clear

Source

pub fn starten1_clr(&self) -> &Starten1Clr

0x6c4 - Start enable 1 clear

Source

pub fn mainclksafety(&self) -> &Mainclksafety

0x710 - Main Clock Safety

Source

pub fn hwwake(&self) -> &Hwwake

0x780 - Hardware Wake-up control

Source

pub fn tempsensorctl(&self) -> &Tempsensorctl

0xe0c - tempsensor ctrl

Source

pub fn bootstateseed(&self, n: usize) -> &Bootstateseed

0xe50..0xe70 - boot state seed register

Source

pub fn bootstateseed_iter(&self) -> impl Iterator<Item = &Bootstateseed>

Iterator for array of: 0xe50..0xe70 - boot state seed register

Source

pub fn bootstatehmac(&self, n: usize) -> &Bootstatehmac

0xe70..0xe90 - boot state hmac register

Source

pub fn bootstatehmac_iter(&self) -> impl Iterator<Item = &Bootstatehmac>

Iterator for array of: 0xe70..0xe90 - boot state hmac register

Source

pub fn flexspipadctrl(&self) -> &Flexspipadctrl

0xef8 - FLEXSPI IO pads ctrl register

Source

pub fn sdiopadctl(&self) -> &Sdiopadctl

0xefc - sdio pad ctrl

Source

pub fn dicehwreg(&self, n: usize) -> &Dicehwreg

0xf00..0xf20 - DICE General Purpose 32-Bit Data Register

Source

pub fn dicehwreg_iter(&self) -> impl Iterator<Item = &Dicehwreg>

Iterator for array of: 0xf00..0xf20 - DICE General Purpose 32-Bit Data Register

Source

pub fn uuid(&self, n: usize) -> &Uuid

0xf50..0xf60 - UUIDn 32-Bit Data Register

Source

pub fn uuid_iter(&self) -> impl Iterator<Item = &Uuid>

Iterator for array of: 0xf50..0xf60 - UUIDn 32-Bit Data Register

Source

pub fn aeskey_srcsel(&self) -> &AeskeySrcsel

0xf80 - AES key source selection

Source

pub fn hashhwkeydisable(&self) -> &Hashhwkeydisable

0xf88 - Hash hardware key disable

Source

pub fn dbg_locken(&self) -> &DbgLocken

0xfa0 - Debug Write Lock registers

Source

pub fn dbg_features(&self) -> &DbgFeatures

0xfa4 - Debug features control for the CM33

Source

pub fn dbg_features_dp(&self) -> &DbgFeaturesDp

0xfa8 - Debug features duplicate

Source

pub fn hwunlock_disable(&self) -> &HwunlockDisable

0xfac - HW unlock disable

Source

pub fn cs_protcpu0(&self) -> &CsProtcpu0

0xfb4 - Code Security for CPU0

Source

pub fn cs_protcpu1(&self) -> &CsProtcpu1

0xfb8 - Code Security for CPU1

Source

pub fn dbg_auth_scratch(&self) -> &DbgAuthScratch

0xfc0 - Debug authorization scratch

Source

pub fn key_block(&self) -> &KeyBlock

0xfd0 - Key block

Trait Implementations§

Source§

impl Debug for Sysctl0

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for Sysctl0

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl Send for Sysctl0

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.