pub struct HP_SYS { /* private fields */ }
Expand description
High-Power System
Implementations§
Source§impl HP_SYS
impl HP_SYS
Sourcepub const PTR: *const RegisterBlock = {0x500e5000 as *const hp_sys::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x500e5000 as *const hp_sys::RegisterBlock}
Pointer to the register block
Sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Sourcepub unsafe fn steal() -> Self
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>§
Sourcepub fn cpu_intr_from_cpu_0(&self) -> &CPU_INTR_FROM_CPU_0
pub fn cpu_intr_from_cpu_0(&self) -> &CPU_INTR_FROM_CPU_0
0x10 - NA
Sourcepub fn cpu_intr_from_cpu_1(&self) -> &CPU_INTR_FROM_CPU_1
pub fn cpu_intr_from_cpu_1(&self) -> &CPU_INTR_FROM_CPU_1
0x14 - NA
Sourcepub fn cpu_intr_from_cpu_2(&self) -> &CPU_INTR_FROM_CPU_2
pub fn cpu_intr_from_cpu_2(&self) -> &CPU_INTR_FROM_CPU_2
0x18 - NA
Sourcepub fn cpu_intr_from_cpu_3(&self) -> &CPU_INTR_FROM_CPU_3
pub fn cpu_intr_from_cpu_3(&self) -> &CPU_INTR_FROM_CPU_3
0x1c - NA
Sourcepub fn cache_clk_config(&self) -> &CACHE_CLK_CONFIG
pub fn cache_clk_config(&self) -> &CACHE_CLK_CONFIG
0x20 - NA
Sourcepub fn cache_reset_config(&self) -> &CACHE_RESET_CONFIG
pub fn cache_reset_config(&self) -> &CACHE_RESET_CONFIG
0x24 - NA
Sourcepub fn dma_addr_ctrl(&self) -> &DMA_ADDR_CTRL
pub fn dma_addr_ctrl(&self) -> &DMA_ADDR_CTRL
0x2c - NA
Sourcepub fn tcm_ram_wrr_config(&self) -> &TCM_RAM_WRR_CONFIG
pub fn tcm_ram_wrr_config(&self) -> &TCM_RAM_WRR_CONFIG
0x34 - NA
Sourcepub fn tcm_sw_parity_bwe_mask(&self) -> &TCM_SW_PARITY_BWE_MASK
pub fn tcm_sw_parity_bwe_mask(&self) -> &TCM_SW_PARITY_BWE_MASK
0x38 - NA
Sourcepub fn tcm_ram_pwr_ctrl0(&self) -> &TCM_RAM_PWR_CTRL0
pub fn tcm_ram_pwr_ctrl0(&self) -> &TCM_RAM_PWR_CTRL0
0x3c - NA
Sourcepub fn l2_rom_pwr_ctrl0(&self) -> &L2_ROM_PWR_CTRL0
pub fn l2_rom_pwr_ctrl0(&self) -> &L2_ROM_PWR_CTRL0
0x40 - NA
Sourcepub fn probea_ctrl(&self) -> &PROBEA_CTRL
pub fn probea_ctrl(&self) -> &PROBEA_CTRL
0x50 - NA
Sourcepub fn probeb_ctrl(&self) -> &PROBEB_CTRL
pub fn probeb_ctrl(&self) -> &PROBEB_CTRL
0x54 - NA
Sourcepub fn l2_mem_ram_pwr_ctrl0(&self) -> &L2_MEM_RAM_PWR_CTRL0
pub fn l2_mem_ram_pwr_ctrl0(&self) -> &L2_MEM_RAM_PWR_CTRL0
0x60 - NA
Sourcepub fn cpu_corestalled_st(&self) -> &CPU_CORESTALLED_ST
pub fn cpu_corestalled_st(&self) -> &CPU_CORESTALLED_ST
0x64 - NA
Sourcepub fn crypto_ctrl(&self) -> &CRYPTO_CTRL
pub fn crypto_ctrl(&self) -> &CRYPTO_CTRL
0x70 - NA
Sourcepub fn gpio_o_hold_ctrl0(&self) -> &GPIO_O_HOLD_CTRL0
pub fn gpio_o_hold_ctrl0(&self) -> &GPIO_O_HOLD_CTRL0
0x74 - NA
Sourcepub fn gpio_o_hold_ctrl1(&self) -> &GPIO_O_HOLD_CTRL1
pub fn gpio_o_hold_ctrl1(&self) -> &GPIO_O_HOLD_CTRL1
0x78 - NA
Sourcepub fn rdn_eco_cs(&self) -> &RDN_ECO_CS
pub fn rdn_eco_cs(&self) -> &RDN_ECO_CS
0x7c - NA
Sourcepub fn cache_apb_postw_en(&self) -> &CACHE_APB_POSTW_EN
pub fn cache_apb_postw_en(&self) -> &CACHE_APB_POSTW_EN
0x80 - NA
Sourcepub fn l2_mem_subsize(&self) -> &L2_MEM_SUBSIZE
pub fn l2_mem_subsize(&self) -> &L2_MEM_SUBSIZE
0x84 - NA
Sourcepub fn l2_mem_int_raw(&self) -> &L2_MEM_INT_RAW
pub fn l2_mem_int_raw(&self) -> &L2_MEM_INT_RAW
0x9c - NA
Sourcepub fn l2_mem_int_st(&self) -> &L2_MEM_INT_ST
pub fn l2_mem_int_st(&self) -> &L2_MEM_INT_ST
0xa0 - NA
Sourcepub fn l2_mem_int_ena(&self) -> &L2_MEM_INT_ENA
pub fn l2_mem_int_ena(&self) -> &L2_MEM_INT_ENA
0xa4 - NA
Sourcepub fn l2_mem_int_clr(&self) -> &L2_MEM_INT_CLR
pub fn l2_mem_int_clr(&self) -> &L2_MEM_INT_CLR
0xa8 - NA
Sourcepub fn l2_mem_l2_ram_ecc(&self) -> &L2_MEM_L2_RAM_ECC
pub fn l2_mem_l2_ram_ecc(&self) -> &L2_MEM_L2_RAM_ECC
0xac - NA
Sourcepub fn l2_mem_int_record0(&self) -> &L2_MEM_INT_RECORD0
pub fn l2_mem_int_record0(&self) -> &L2_MEM_INT_RECORD0
0xb0 - NA
Sourcepub fn l2_mem_int_record1(&self) -> &L2_MEM_INT_RECORD1
pub fn l2_mem_int_record1(&self) -> &L2_MEM_INT_RECORD1
0xb4 - NA
Sourcepub fn l2_mem_l2_cache_ecc(&self) -> &L2_MEM_L2_CACHE_ECC
pub fn l2_mem_l2_cache_ecc(&self) -> &L2_MEM_L2_CACHE_ECC
0xc4 - NA
Sourcepub fn l1cache_bus0_id(&self) -> &L1CACHE_BUS0_ID
pub fn l1cache_bus0_id(&self) -> &L1CACHE_BUS0_ID
0xc8 - NA
Sourcepub fn l1cache_bus1_id(&self) -> &L1CACHE_BUS1_ID
pub fn l1cache_bus1_id(&self) -> &L1CACHE_BUS1_ID
0xcc - NA
Sourcepub fn l2_mem_rdn_eco_cs(&self) -> &L2_MEM_RDN_ECO_CS
pub fn l2_mem_rdn_eco_cs(&self) -> &L2_MEM_RDN_ECO_CS
0xd8 - NA
Sourcepub fn l2_mem_rdn_eco_low(&self) -> &L2_MEM_RDN_ECO_LOW
pub fn l2_mem_rdn_eco_low(&self) -> &L2_MEM_RDN_ECO_LOW
0xdc - NA
Sourcepub fn l2_mem_rdn_eco_high(&self) -> &L2_MEM_RDN_ECO_HIGH
pub fn l2_mem_rdn_eco_high(&self) -> &L2_MEM_RDN_ECO_HIGH
0xe0 - NA
Sourcepub fn tcm_rdn_eco_cs(&self) -> &TCM_RDN_ECO_CS
pub fn tcm_rdn_eco_cs(&self) -> &TCM_RDN_ECO_CS
0xe4 - NA
Sourcepub fn tcm_rdn_eco_low(&self) -> &TCM_RDN_ECO_LOW
pub fn tcm_rdn_eco_low(&self) -> &TCM_RDN_ECO_LOW
0xe8 - NA
Sourcepub fn tcm_rdn_eco_high(&self) -> &TCM_RDN_ECO_HIGH
pub fn tcm_rdn_eco_high(&self) -> &TCM_RDN_ECO_HIGH
0xec - NA
Sourcepub fn gpio_ded_hold_ctrl(&self) -> &GPIO_DED_HOLD_CTRL
pub fn gpio_ded_hold_ctrl(&self) -> &GPIO_DED_HOLD_CTRL
0xf0 - NA
Sourcepub fn l2_mem_sw_ecc_bwe_mask(&self) -> &L2_MEM_SW_ECC_BWE_MASK
pub fn l2_mem_sw_ecc_bwe_mask(&self) -> &L2_MEM_SW_ECC_BWE_MASK
0xf4 - NA
Sourcepub fn usb20otg_mem_ctrl(&self) -> &USB20OTG_MEM_CTRL
pub fn usb20otg_mem_ctrl(&self) -> &USB20OTG_MEM_CTRL
0xf8 - NA
Sourcepub fn tcm_int_raw(&self) -> &TCM_INT_RAW
pub fn tcm_int_raw(&self) -> &TCM_INT_RAW
0xfc - need_des
Sourcepub fn tcm_int_st(&self) -> &TCM_INT_ST
pub fn tcm_int_st(&self) -> &TCM_INT_ST
0x100 - need_des
Sourcepub fn tcm_int_ena(&self) -> &TCM_INT_ENA
pub fn tcm_int_ena(&self) -> &TCM_INT_ENA
0x104 - need_des
Sourcepub fn tcm_int_clr(&self) -> &TCM_INT_CLR
pub fn tcm_int_clr(&self) -> &TCM_INT_CLR
0x108 - need_des
Sourcepub fn tcm_parity_int_record(&self) -> &TCM_PARITY_INT_RECORD
pub fn tcm_parity_int_record(&self) -> &TCM_PARITY_INT_RECORD
0x10c - need_des
Sourcepub fn l1_cache_pwr_ctrl(&self) -> &L1_CACHE_PWR_CTRL
pub fn l1_cache_pwr_ctrl(&self) -> &L1_CACHE_PWR_CTRL
0x110 - NA
Sourcepub fn l2_cache_pwr_ctrl(&self) -> &L2_CACHE_PWR_CTRL
pub fn l2_cache_pwr_ctrl(&self) -> &L2_CACHE_PWR_CTRL
0x114 - NA
Sourcepub fn cpu_waiti_conf(&self) -> &CPU_WAITI_CONF
pub fn cpu_waiti_conf(&self) -> &CPU_WAITI_CONF
0x118 - CPU_WAITI configuration register
Sourcepub fn core_debug_runstall_conf(&self) -> &CORE_DEBUG_RUNSTALL_CONF
pub fn core_debug_runstall_conf(&self) -> &CORE_DEBUG_RUNSTALL_CONF
0x11c - Core Debug runstall configure register
Sourcepub fn core_ahb_timeout(&self) -> &CORE_AHB_TIMEOUT
pub fn core_ahb_timeout(&self) -> &CORE_AHB_TIMEOUT
0x120 - need_des
Sourcepub fn core_ibus_timeout(&self) -> &CORE_IBUS_TIMEOUT
pub fn core_ibus_timeout(&self) -> &CORE_IBUS_TIMEOUT
0x124 - need_des
Sourcepub fn core_dbus_timeout(&self) -> &CORE_DBUS_TIMEOUT
pub fn core_dbus_timeout(&self) -> &CORE_DBUS_TIMEOUT
0x128 - need_des
Sourcepub fn icm_cpu_h2x_cfg(&self) -> &ICM_CPU_H2X_CFG
pub fn icm_cpu_h2x_cfg(&self) -> &ICM_CPU_H2X_CFG
0x138 - need_des
Sourcepub fn peri1_apb_postw_en(&self) -> &PERI1_APB_POSTW_EN
pub fn peri1_apb_postw_en(&self) -> &PERI1_APB_POSTW_EN
0x13c - NA
Sourcepub fn bitscrambler_peri_sel(&self) -> &BITSCRAMBLER_PERI_SEL
pub fn bitscrambler_peri_sel(&self) -> &BITSCRAMBLER_PERI_SEL
0x140 - Bitscrambler Peri Sel
Sourcepub fn apb_sync_postw_en(&self) -> &APB_SYNC_POSTW_EN
pub fn apb_sync_postw_en(&self) -> &APB_SYNC_POSTW_EN
0x144 - N/A
Sourcepub fn gmac_ctrl0(&self) -> &GMAC_CTRL0
pub fn gmac_ctrl0(&self) -> &GMAC_CTRL0
0x14c - N/A
Sourcepub fn gmac_ctrl1(&self) -> &GMAC_CTRL1
pub fn gmac_ctrl1(&self) -> &GMAC_CTRL1
0x150 - N/A
Sourcepub fn gmac_ctrl2(&self) -> &GMAC_CTRL2
pub fn gmac_ctrl2(&self) -> &GMAC_CTRL2
0x154 - N/A
Sourcepub fn usbotg20_ctrl(&self) -> &USBOTG20_CTRL
pub fn usbotg20_ctrl(&self) -> &USBOTG20_CTRL
0x15c - N/A
Sourcepub fn tcm_err_resp_ctrl(&self) -> &TCM_ERR_RESP_CTRL
pub fn tcm_err_resp_ctrl(&self) -> &TCM_ERR_RESP_CTRL
0x160 - need_des
Sourcepub fn l2_mem_refresh(&self) -> &L2_MEM_REFRESH
pub fn l2_mem_refresh(&self) -> &L2_MEM_REFRESH
0x164 - NA
Sourcepub fn tcm_parity_check_ctrl(&self) -> &TCM_PARITY_CHECK_CTRL
pub fn tcm_parity_check_ctrl(&self) -> &TCM_PARITY_CHECK_CTRL
0x16c - need_des
Sourcepub fn design_for_verification0(&self) -> &DESIGN_FOR_VERIFICATION0
pub fn design_for_verification0(&self) -> &DESIGN_FOR_VERIFICATION0
0x170 - need_des
Sourcepub fn design_for_verification1(&self) -> &DESIGN_FOR_VERIFICATION1
pub fn design_for_verification1(&self) -> &DESIGN_FOR_VERIFICATION1
0x174 - need_des
Sourcepub fn psram_flash_addr_interchange(&self) -> &PSRAM_FLASH_ADDR_INTERCHANGE
pub fn psram_flash_addr_interchange(&self) -> &PSRAM_FLASH_ADDR_INTERCHANGE
0x180 - need_des
Sourcepub fn ahb2axi_bresp_err_int_raw(&self) -> &AHB2AXI_BRESP_ERR_INT_RAW
pub fn ahb2axi_bresp_err_int_raw(&self) -> &AHB2AXI_BRESP_ERR_INT_RAW
0x188 - NA
Sourcepub fn ahb2axi_bresp_err_int_st(&self) -> &AHB2AXI_BRESP_ERR_INT_ST
pub fn ahb2axi_bresp_err_int_st(&self) -> &AHB2AXI_BRESP_ERR_INT_ST
0x18c - need_des
Sourcepub fn ahb2axi_bresp_err_int_ena(&self) -> &AHB2AXI_BRESP_ERR_INT_ENA
pub fn ahb2axi_bresp_err_int_ena(&self) -> &AHB2AXI_BRESP_ERR_INT_ENA
0x190 - need_des
Sourcepub fn ahb2axi_bresp_err_int_clr(&self) -> &AHB2AXI_BRESP_ERR_INT_CLR
pub fn ahb2axi_bresp_err_int_clr(&self) -> &AHB2AXI_BRESP_ERR_INT_CLR
0x194 - need_des
Sourcepub fn l2_mem_err_resp_ctrl(&self) -> &L2_MEM_ERR_RESP_CTRL
pub fn l2_mem_err_resp_ctrl(&self) -> &L2_MEM_ERR_RESP_CTRL
0x198 - need_des
Sourcepub fn l2_mem_ahb_buffer_ctrl(&self) -> &L2_MEM_AHB_BUFFER_CTRL
pub fn l2_mem_ahb_buffer_ctrl(&self) -> &L2_MEM_AHB_BUFFER_CTRL
0x19c - need_des
Sourcepub fn core_dmactive_lpcore(&self) -> &CORE_DMACTIVE_LPCORE
pub fn core_dmactive_lpcore(&self) -> &CORE_DMACTIVE_LPCORE
0x1a0 - need_des
Sourcepub fn core_err_resp_dis(&self) -> &CORE_ERR_RESP_DIS
pub fn core_err_resp_dis(&self) -> &CORE_ERR_RESP_DIS
0x1a4 - need_des
Sourcepub fn core_timeout_int_raw(&self) -> &CORE_TIMEOUT_INT_RAW
pub fn core_timeout_int_raw(&self) -> &CORE_TIMEOUT_INT_RAW
0x1a8 - Hp core bus timeout interrupt raw register
Sourcepub fn core_timeout_int_st(&self) -> &CORE_TIMEOUT_INT_ST
pub fn core_timeout_int_st(&self) -> &CORE_TIMEOUT_INT_ST
0x1ac - masked interrupt register
Sourcepub fn core_timeout_int_ena(&self) -> &CORE_TIMEOUT_INT_ENA
pub fn core_timeout_int_ena(&self) -> &CORE_TIMEOUT_INT_ENA
0x1b0 - masked interrupt register
Sourcepub fn core_timeout_int_clr(&self) -> &CORE_TIMEOUT_INT_CLR
pub fn core_timeout_int_clr(&self) -> &CORE_TIMEOUT_INT_CLR
0x1b4 - interrupt clear register
Sourcepub fn gpio_o_hys_ctrl0(&self) -> &GPIO_O_HYS_CTRL0
pub fn gpio_o_hys_ctrl0(&self) -> &GPIO_O_HYS_CTRL0
0x1c0 - NA
Sourcepub fn gpio_o_hys_ctrl1(&self) -> &GPIO_O_HYS_CTRL1
pub fn gpio_o_hys_ctrl1(&self) -> &GPIO_O_HYS_CTRL1
0x1c4 - NA
Sourcepub fn rsa_pd_ctrl(&self) -> &RSA_PD_CTRL
pub fn rsa_pd_ctrl(&self) -> &RSA_PD_CTRL
0x1d0 - rsa pd ctrl register
Sourcepub fn ecc_pd_ctrl(&self) -> &ECC_PD_CTRL
pub fn ecc_pd_ctrl(&self) -> &ECC_PD_CTRL
0x1d4 - ecc pd ctrl register
Sourcepub fn uart_pd_ctrl(&self) -> &UART_PD_CTRL
pub fn uart_pd_ctrl(&self) -> &UART_PD_CTRL
0x1dc - ecc pd ctrl register
Sourcepub fn peri_mem_clk_force_on(&self) -> &PERI_MEM_CLK_FORCE_ON
pub fn peri_mem_clk_force_on(&self) -> &PERI_MEM_CLK_FORCE_ON
0x1e0 - hp peri mem clk force on regpster