LP_SYS

Struct LP_SYS 

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

LP_SYS Peripheral

Implementations§

Source§

impl LP_SYS

Source

pub const PTR: *const RegisterBlock = {0x50110000 as *const lp_sys::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 lp_sys_ver_date(&self) -> &LP_SYS_VER_DATE

0x00 - need_des

Source

pub fn clk_sel_ctrl(&self) -> &CLK_SEL_CTRL

0x04 - need_des

Source

pub fn sys_ctrl(&self) -> &SYS_CTRL

0x08 - need_des

Source

pub fn lp_clk_ctrl(&self) -> &LP_CLK_CTRL

0x0c - need_des

Source

pub fn lp_rst_ctrl(&self) -> &LP_RST_CTRL

0x10 - need_des

Source

pub fn lp_core_boot_addr(&self) -> &LP_CORE_BOOT_ADDR

0x18 - need_des

Source

pub fn ext_wakeup1(&self) -> &EXT_WAKEUP1

0x1c - need_des

Source

pub fn ext_wakeup1_status(&self) -> &EXT_WAKEUP1_STATUS

0x20 - need_des

Source

pub fn lp_tcm_pwr_ctrl(&self) -> &LP_TCM_PWR_CTRL

0x24 - need_des

Source

pub fn boot_addr_hp_lp(&self) -> &BOOT_ADDR_HP_LP

0x28 - need_des

Source

pub fn lp_store0(&self) -> &LP_STORE0

0x2c - need_des

Source

pub fn lp_store1(&self) -> &LP_STORE1

0x30 - need_des

Source

pub fn lp_store2(&self) -> &LP_STORE2

0x34 - need_des

Source

pub fn lp_store3(&self) -> &LP_STORE3

0x38 - need_des

Source

pub fn lp_store4(&self) -> &LP_STORE4

0x3c - need_des

Source

pub fn lp_store5(&self) -> &LP_STORE5

0x40 - need_des

Source

pub fn lp_store6(&self) -> &LP_STORE6

0x44 - need_des

Source

pub fn lp_store7(&self) -> &LP_STORE7

0x48 - need_des

Source

pub fn lp_store8(&self) -> &LP_STORE8

0x4c - need_des

Source

pub fn lp_store9(&self) -> &LP_STORE9

0x50 - need_des

Source

pub fn lp_store10(&self) -> &LP_STORE10

0x54 - need_des

Source

pub fn lp_store11(&self) -> &LP_STORE11

0x58 - need_des

Source

pub fn lp_store12(&self) -> &LP_STORE12

0x5c - need_des

Source

pub fn lp_store13(&self) -> &LP_STORE13

0x60 - need_des

Source

pub fn lp_store14(&self) -> &LP_STORE14

0x64 - need_des

Source

pub fn lp_store15(&self) -> &LP_STORE15

0x68 - need_des

Source

pub fn lp_probea_ctrl(&self) -> &LP_PROBEA_CTRL

0x6c - need_des

Source

pub fn lp_probeb_ctrl(&self) -> &LP_PROBEB_CTRL

0x70 - need_des

Source

pub fn lp_probe_out(&self) -> &LP_PROBE_OUT

0x74 - need_des

Source

pub fn f2s_apb_brg_cntl(&self) -> &F2S_APB_BRG_CNTL

0x9c - need_des

Source

pub fn usb_ctrl(&self) -> &USB_CTRL

0x100 - need_des

Source

pub fn ana_xpd_pad_group(&self) -> &ANA_XPD_PAD_GROUP

0x10c - need_des

Source

pub fn lp_tcm_ram_rdn_eco_cs(&self) -> &LP_TCM_RAM_RDN_ECO_CS

0x110 - need_des

Source

pub fn lp_tcm_ram_rdn_eco_low(&self) -> &LP_TCM_RAM_RDN_ECO_LOW

0x114 - need_des

Source

pub fn lp_tcm_ram_rdn_eco_high(&self) -> &LP_TCM_RAM_RDN_ECO_HIGH

0x118 - need_des

Source

pub fn lp_tcm_rom_rdn_eco_cs(&self) -> &LP_TCM_ROM_RDN_ECO_CS

0x11c - need_des

Source

pub fn lp_tcm_rom_rdn_eco_low(&self) -> &LP_TCM_ROM_RDN_ECO_LOW

0x120 - need_des

Source

pub fn lp_tcm_rom_rdn_eco_high(&self) -> &LP_TCM_ROM_RDN_ECO_HIGH

0x124 - need_des

Source

pub fn hp_root_clk_ctrl(&self) -> &HP_ROOT_CLK_CTRL

0x130 - need_des

Source

pub fn lp_pmu_rdn_eco_low(&self) -> &LP_PMU_RDN_ECO_LOW

0x138 - need_des

Source

pub fn lp_pmu_rdn_eco_high(&self) -> &LP_PMU_RDN_ECO_HIGH

0x13c - need_des

Source

pub fn pad_comp0(&self) -> &PAD_COMP0

0x148 - need_des

Source

pub fn pad_comp1(&self) -> &PAD_COMP1

0x14c - need_des

Source

pub fn backup_dma_cfg0(&self) -> &BACKUP_DMA_CFG0

0x154 - need_des

Source

pub fn backup_dma_cfg1(&self) -> &BACKUP_DMA_CFG1

0x158 - need_des

Source

pub fn backup_dma_cfg2(&self) -> &BACKUP_DMA_CFG2

0x15c - need_des

Source

pub fn boot_addr_hp_core1(&self) -> &BOOT_ADDR_HP_CORE1

0x164 - need_des

Source

pub fn lp_addrhole_addr(&self) -> &LP_ADDRHOLE_ADDR

0x168 - need_des

Source

pub fn lp_addrhole_info(&self) -> &LP_ADDRHOLE_INFO

0x16c - need_des

Source

pub fn int_raw(&self) -> &INT_RAW

0x170 - raw interrupt register

Source

pub fn int_st(&self) -> &INT_ST

0x174 - masked interrupt register

Source

pub fn int_ena(&self) -> &INT_ENA

0x178 - masked interrupt register

Source

pub fn int_clr(&self) -> &INT_CLR

0x17c - interrupt clear register

Source

pub fn hp_mem_aux_ctrl(&self) -> &HP_MEM_AUX_CTRL

0x180 - need_des

Source

pub fn lp_mem_aux_ctrl(&self) -> &LP_MEM_AUX_CTRL

0x184 - need_des

Source

pub fn hp_rom_aux_ctrl(&self) -> &HP_ROM_AUX_CTRL

0x188 - need_des

Source

pub fn lp_rom_aux_ctrl(&self) -> &LP_ROM_AUX_CTRL

0x18c - need_des

Source

pub fn lp_cpu_dbg_pc(&self) -> &LP_CPU_DBG_PC

0x190 - need_des

Source

pub fn lp_cpu_exc_pc(&self) -> &LP_CPU_EXC_PC

0x194 - need_des

Source

pub fn idbus_addrhole_addr(&self) -> &IDBUS_ADDRHOLE_ADDR

0x198 - need_des

Source

pub fn idbus_addrhole_info(&self) -> &IDBUS_ADDRHOLE_INFO

0x19c - need_des

Source

pub fn hp_por_rst_bypass_ctrl(&self) -> &HP_POR_RST_BYPASS_CTRL

0x1a0 - need_des

Source

pub fn rng_data(&self) -> &RNG_DATA

0x1a4 - rng data register

Source

pub fn lp_core_ahb_timeout(&self) -> &LP_CORE_AHB_TIMEOUT

0x1b0 - need_des

Source

pub fn lp_core_ibus_timeout(&self) -> &LP_CORE_IBUS_TIMEOUT

0x1b4 - need_des

Source

pub fn lp_core_dbus_timeout(&self) -> &LP_CORE_DBUS_TIMEOUT

0x1b8 - need_des

Source

pub fn lp_core_err_resp_dis(&self) -> &LP_CORE_ERR_RESP_DIS

0x1bc - need_des

Source

pub fn rng_cfg(&self) -> &RNG_CFG

0x1c0 - rng cfg register

Trait Implementations§

Source§

impl Debug for LP_SYS

Source§

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

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

impl Deref for LP_SYS

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl Send for LP_SYS

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.