HP_SYS_CLKRST

Struct HP_SYS_CLKRST 

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

HP_SYS_CLKRST Peripheral

Implementations§

Source§

impl HP_SYS_CLKRST

Source

pub const PTR: *const RegisterBlock = {0x500e6000 as *const hp_sys_clkrst::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 clk_en0(&self) -> &CLK_EN0

0x00 - Reserved

Source

pub fn root_clk_ctrl0(&self) -> &ROOT_CLK_CTRL0

0x04 - Reserved

Source

pub fn root_clk_ctrl1(&self) -> &ROOT_CLK_CTRL1

0x08 - Reserved

Source

pub fn root_clk_ctrl2(&self) -> &ROOT_CLK_CTRL2

0x0c - Reserved

Source

pub fn root_clk_ctrl3(&self) -> &ROOT_CLK_CTRL3

0x10 - Reserved

Source

pub fn soc_clk_ctrl0(&self) -> &SOC_CLK_CTRL0

0x14 - Reserved

Source

pub fn soc_clk_ctrl1(&self) -> &SOC_CLK_CTRL1

0x18 - Reserved

Source

pub fn soc_clk_ctrl2(&self) -> &SOC_CLK_CTRL2

0x1c - Reserved

Source

pub fn soc_clk_ctrl3(&self) -> &SOC_CLK_CTRL3

0x20 - Reserved

Source

pub fn ref_clk_ctrl0(&self) -> &REF_CLK_CTRL0

0x24 - Reserved

Source

pub fn ref_clk_ctrl1(&self) -> &REF_CLK_CTRL1

0x28 - Reserved

Source

pub fn ref_clk_ctrl2(&self) -> &REF_CLK_CTRL2

0x2c - Reserved

Source

pub fn peri_clk_ctrl00(&self) -> &PERI_CLK_CTRL00

0x30 - Reserved

Source

pub fn peri_clk_ctrl01(&self) -> &PERI_CLK_CTRL01

0x34 - Reserved

Source

pub fn peri_clk_ctrl02(&self) -> &PERI_CLK_CTRL02

0x38 - Reserved

Source

pub fn peri_clk_ctrl03(&self) -> &PERI_CLK_CTRL03

0x3c - Reserved

Source

pub fn peri_clk_ctrl10(&self) -> &PERI_CLK_CTRL10

0x40 - Reserved

Source

pub fn peri_clk_ctrl11(&self) -> &PERI_CLK_CTRL11

0x44 - Reserved

Source

pub fn peri_clk_ctrl12(&self) -> &PERI_CLK_CTRL12

0x48 - Reserved

Source

pub fn peri_clk_ctrl13(&self) -> &PERI_CLK_CTRL13

0x4c - Reserved

Source

pub fn peri_clk_ctrl14(&self) -> &PERI_CLK_CTRL14

0x50 - Reserved

Source

pub fn peri_clk_ctrl15(&self) -> &PERI_CLK_CTRL15

0x54 - Reserved

Source

pub fn peri_clk_ctrl16(&self) -> &PERI_CLK_CTRL16

0x58 - Reserved

Source

pub fn peri_clk_ctrl17(&self) -> &PERI_CLK_CTRL17

0x5c - Reserved

Source

pub fn peri_clk_ctrl18(&self) -> &PERI_CLK_CTRL18

0x60 - Reserved

Source

pub fn peri_clk_ctrl19(&self) -> &PERI_CLK_CTRL19

0x64 - Reserved

Source

pub fn peri_clk_ctrl110(&self) -> &PERI_CLK_CTRL110

0x68 - Reserved

Source

pub fn peri_clk_ctrl111(&self) -> &PERI_CLK_CTRL111

0x6c - Reserved

Source

pub fn peri_clk_ctrl112(&self) -> &PERI_CLK_CTRL112

0x70 - Reserved

Source

pub fn peri_clk_ctrl113(&self) -> &PERI_CLK_CTRL113

0x74 - Reserved

Source

pub fn peri_clk_ctrl114(&self) -> &PERI_CLK_CTRL114

0x78 - Reserved

Source

pub fn peri_clk_ctrl115(&self) -> &PERI_CLK_CTRL115

0x7c - Reserved

Source

pub fn peri_clk_ctrl116(&self) -> &PERI_CLK_CTRL116

0x80 - Reserved

Source

pub fn peri_clk_ctrl117(&self) -> &PERI_CLK_CTRL117

0x84 - Reserved

Source

pub fn peri_clk_ctrl118(&self) -> &PERI_CLK_CTRL118

0x88 - Reserved

Source

pub fn peri_clk_ctrl119(&self) -> &PERI_CLK_CTRL119

0x8c - Reserved

Source

pub fn peri_clk_ctrl120(&self) -> &PERI_CLK_CTRL120

0x90 - Reserved

Source

pub fn peri_clk_ctrl20(&self) -> &PERI_CLK_CTRL20

0x94 - Reserved

Source

pub fn peri_clk_ctrl21(&self) -> &PERI_CLK_CTRL21

0x98 - Reserved

Source

pub fn peri_clk_ctrl22(&self) -> &PERI_CLK_CTRL22

0x9c - Reserved

Source

pub fn peri_clk_ctrl23(&self) -> &PERI_CLK_CTRL23

0xa0 - Reserved

Source

pub fn peri_clk_ctrl24(&self) -> &PERI_CLK_CTRL24

0xa4 - Reserved

Source

pub fn peri_clk_ctrl25(&self) -> &PERI_CLK_CTRL25

0xa8 - Reserved

Source

pub fn peri_clk_ctrl26(&self) -> &PERI_CLK_CTRL26

0xac - Reserved

Source

pub fn peri_clk_ctrl27(&self) -> &PERI_CLK_CTRL27

0xb0 - Reserved

Source

pub fn clk_force_on_ctrl0(&self) -> &CLK_FORCE_ON_CTRL0

0xb4 - Reserved

Source

pub fn dpa_ctrl0(&self) -> &DPA_CTRL0

0xb8 - Reserved

Source

pub fn ana_pll_ctrl0(&self) -> &ANA_PLL_CTRL0

0xbc - Reserved

Source

pub fn hp_rst_en0(&self) -> &HP_RST_EN0

0xc0 - Reserved

Source

pub fn hp_rst_en1(&self) -> &HP_RST_EN1

0xc4 - Reserved

Source

pub fn hp_rst_en2(&self) -> &HP_RST_EN2

0xc8 - Reserved

Source

pub fn hp_force_norst0(&self) -> &HP_FORCE_NORST0

0xcc - Reserved

Source

pub fn hp_force_norst1(&self) -> &HP_FORCE_NORST1

0xd0 - Reserved

Source

pub fn hpwdt_core0_rst_ctrl0(&self) -> &HPWDT_CORE0_RST_CTRL0

0xd4 - Reserved

Source

pub fn hpwdt_core1_rst_ctrl0(&self) -> &HPWDT_CORE1_RST_CTRL0

0xd8 - Reserved

Source

pub fn cpu_src_freq0(&self) -> &CPU_SRC_FREQ0

0xdc - CPU Source Frequency

Source

pub fn cpu_clk_status0(&self) -> &CPU_CLK_STATUS0

0xe0 - CPU Clock Status

Source

pub fn dbg_clk_ctrl0(&self) -> &DBG_CLK_CTRL0

0xe4 - Reserved

Source

pub fn dbg_clk_ctrl1(&self) -> &DBG_CLK_CTRL1

0xe8 - Reserved

Source

pub fn hpcore_wdt_reset_source0(&self) -> &HPCORE_WDT_RESET_SOURCE0

0xec - Reserved

Trait Implementations§

Source§

impl Debug for HP_SYS_CLKRST

Source§

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

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

impl Deref for HP_SYS_CLKRST

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl Send for HP_SYS_CLKRST

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.