RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn remap(&self) -> &Remap

0x200 - AHB Matrix Remap Control

Source

pub const fn ahbmatprio(&self) -> &Ahbmatprio

0x210 - AHB Matrix Priority Control

Source

pub const fn cpu0nstckcal(&self) -> &Cpu0nstckcal

0x23c - Non-Secure CPU0 System Tick Calibration

Source

pub const fn nmisrc(&self) -> &Nmisrc

0x248 - NMI Source Select

Source

pub const fn protlvl(&self) -> &Protlvl

0x24c - Protect Level Control

Source

pub const fn slowclkdiv(&self) -> &Slowclkdiv

0x378 - SLOW_CLK Clock Divider

Source

pub const fn busclkdiv(&self) -> &Busclkdiv

0x37c - BUS_CLK Clock Divider

Source

pub const fn ahbclkdiv(&self) -> &Ahbclkdiv

0x380 - System Clock Divider

Source

pub const fn frohfdiv(&self) -> &Frohfdiv

0x388 - FRO_HF_DIV Clock Divider

Source

pub const fn frolfdiv(&self) -> &Frolfdiv

0x38c - FRO_LF_DIV Clock Divider

Source

pub const fn pll1clkdiv(&self) -> &Pll1clkdiv

0x3e4 - PLL1_CLK_DIV Clock Divider

Source

pub const fn clkunlock(&self) -> &Clkunlock

0x3fc - Clock Configuration Unlock

Source

pub const fn nvm_ctrl(&self) -> &NvmCtrl

0x400 - NVM Control

Source

pub const fn smart_dmaint(&self) -> &SmartDmaint

0x414 - SmartDMA Interrupt Hijack

Source

pub const fn ram_interleave(&self) -> &RamInterleave

0x470 - Controls RAM Interleave Integration

Source

pub const fn cpustat(&self) -> &Cpustat

0x80c - CPU Status

Source

pub const fn lpcac_ctrl(&self) -> &LpcacCtrl

0x824 - LPCAC Control

Source

pub const fn pwm0subctl(&self) -> &Pwm0subctl

0x938 - PWM0 Submodule Control

Source

pub const fn pwm1subctl(&self) -> &Pwm1subctl

0x93c - PWM1 Submodule Control

Source

pub const fn ctimerglobalstarten(&self) -> &Ctimerglobalstarten

0x940 - CTIMER Global Start Enable

Source

pub const fn ram_ctrl(&self) -> &RamCtrl

0x944 - RAM Control

Source

pub const fn gray_code_lsb(&self) -> &GrayCodeLsb

0xb60 - Gray to Binary Converter Gray Code [31:0]

Source

pub const fn gray_code_msb(&self) -> &GrayCodeMsb

0xb64 - Gray to Binary Converter Gray Code [41:32]

Source

pub const fn binary_code_lsb(&self) -> &BinaryCodeLsb

0xb68 - Gray to Binary Converter Binary Code [31:0]

Source

pub const fn binary_code_msb(&self) -> &BinaryCodeMsb

0xb6c - Gray to Binary Converter Binary Code [41:32]

Source

pub const fn els_udf(&self) -> &ElsUdf

0xe10 - UDF Control

Source

pub const fn msfcfg(&self) -> &Msfcfg

0xe1c - MSF Configuration

Source

pub const fn els_uid(&self, n: usize) -> &ElsUid

0xe20..0xe30 - Device UID n

Source

pub fn els_uid_iter(&self) -> impl Iterator<Item = &ElsUid>

Iterator for array of: 0xe20..0xe30 - Device UID n

Source

pub const fn rop_state(&self) -> &RopState

0xe3c - ROP State Register

Source

pub const fn sram_xen(&self) -> &SramXen

0xe58 - RAM XEN Control

Source

pub const fn sram_xen_dp(&self) -> &SramXenDp

0xe5c - RAM XEN Control (Duplicate)

Source

pub const fn els_otp_lc_state(&self) -> &ElsOtpLcState

0xe80 - Life Cycle State Register

Source

pub const fn els_otp_lc_state_dp(&self) -> &ElsOtpLcStateDp

0xe84 - Life Cycle State Register (Duplicate)

Source

pub const fn debug_lock_en(&self) -> &DebugLockEn

0xfa0 - Control Write Access to Security

Source

pub const fn debug_features(&self) -> &DebugFeatures

0xfa4 - Cortex Debug Features Control

Source

pub const fn debug_features_dp(&self) -> &DebugFeaturesDp

0xfa8 - Cortex Debug Features Control (Duplicate)

Source

pub const fn swd_access_cpu0(&self) -> &SwdAccessCpu0

0xfb4 - CPU0 Software Debug Access

Source

pub const fn debug_auth_beacon(&self) -> &DebugAuthBeacon

0xfc0 - Debug Authentication BEACON

Source

pub const fn jtag_id(&self) -> &JtagId

0xff0 - JTAG Chip ID

Source

pub const fn device_type(&self) -> &DeviceType

0xff4 - Device Type

Source

pub const fn device_id0(&self) -> &DeviceId0

0xff8 - Device ID

Source

pub const fn dieid(&self) -> &Dieid

0xffc - Chip Revision ID and Number

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.