pub struct SYSTEM { /* private fields */ }
Expand description
System Configuration Registers
Implementations§
source§impl SYSTEM
impl SYSTEM
sourcepub const PTR: *const RegisterBlock = {0x600c0000 as *const system::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x600c0000 as *const system::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_peri_clk_en(&self) -> &CPU_PERI_CLK_EN
pub fn cpu_peri_clk_en(&self) -> &CPU_PERI_CLK_EN
0x00 - cpu_peripheral clock gating register
sourcepub fn cpu_peri_rst_en(&self) -> &CPU_PERI_RST_EN
pub fn cpu_peri_rst_en(&self) -> &CPU_PERI_RST_EN
0x04 - cpu_peripheral reset register
sourcepub fn cpu_per_conf(&self) -> &CPU_PER_CONF
pub fn cpu_per_conf(&self) -> &CPU_PER_CONF
0x08 - cpu clock config register
sourcepub fn mem_pd_mask(&self) -> &MEM_PD_MASK
pub fn mem_pd_mask(&self) -> &MEM_PD_MASK
0x0c - memory power down mask register
sourcepub fn perip_clk_en0(&self) -> &PERIP_CLK_EN0
pub fn perip_clk_en0(&self) -> &PERIP_CLK_EN0
0x10 - peripheral clock gating register
sourcepub fn perip_clk_en1(&self) -> &PERIP_CLK_EN1
pub fn perip_clk_en1(&self) -> &PERIP_CLK_EN1
0x14 - peripheral clock gating register
sourcepub fn perip_rst_en0(&self) -> &PERIP_RST_EN0
pub fn perip_rst_en0(&self) -> &PERIP_RST_EN0
0x18 - reserved
sourcepub fn perip_rst_en1(&self) -> &PERIP_RST_EN1
pub fn perip_rst_en1(&self) -> &PERIP_RST_EN1
0x1c - peripheral reset register
sourcepub fn bt_lpck_div_int(&self) -> &BT_LPCK_DIV_INT
pub fn bt_lpck_div_int(&self) -> &BT_LPCK_DIV_INT
0x20 - clock config register
sourcepub fn bt_lpck_div_frac(&self) -> &BT_LPCK_DIV_FRAC
pub fn bt_lpck_div_frac(&self) -> &BT_LPCK_DIV_FRAC
0x24 - clock config register
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
0x28 - interrupt generate register
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
0x2c - interrupt generate register
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
0x30 - interrupt generate register
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
0x34 - interrupt generate register
sourcepub fn rsa_pd_ctrl(&self) -> &RSA_PD_CTRL
pub fn rsa_pd_ctrl(&self) -> &RSA_PD_CTRL
0x38 - rsa memory power control register
sourcepub fn cache_control(&self) -> &CACHE_CONTROL
pub fn cache_control(&self) -> &CACHE_CONTROL
0x40 - cache control register
sourcepub fn external_device_encrypt_decrypt_control(
&self,
) -> &EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL
pub fn external_device_encrypt_decrypt_control( &self, ) -> &EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL
0x44 - SYSTEM_EXTERNAL_DEVICE_ENCRYPT_DECRYPT_CONTROL_REG
sourcepub fn rtc_fastmem_config(&self) -> &RTC_FASTMEM_CONFIG
pub fn rtc_fastmem_config(&self) -> &RTC_FASTMEM_CONFIG
0x48 - fast memory config register
sourcepub fn rtc_fastmem_crc(&self) -> &RTC_FASTMEM_CRC
pub fn rtc_fastmem_crc(&self) -> &RTC_FASTMEM_CRC
0x4c - reserved
sourcepub fn redundant_eco_ctrl(&self) -> &REDUNDANT_ECO_CTRL
pub fn redundant_eco_ctrl(&self) -> &REDUNDANT_ECO_CTRL
0x50 - eco register
sourcepub fn clock_gate(&self) -> &CLOCK_GATE
pub fn clock_gate(&self) -> &CLOCK_GATE
0x54 - clock gating register
sourcepub fn sysclk_conf(&self) -> &SYSCLK_CONF
pub fn sysclk_conf(&self) -> &SYSCLK_CONF
0x58 - system clock config register
sourcepub fn comb_pvt_lvt_conf(&self) -> &COMB_PVT_LVT_CONF
pub fn comb_pvt_lvt_conf(&self) -> &COMB_PVT_LVT_CONF
0x60 - mem pvt register
sourcepub fn comb_pvt_nvt_conf(&self) -> &COMB_PVT_NVT_CONF
pub fn comb_pvt_nvt_conf(&self) -> &COMB_PVT_NVT_CONF
0x64 - mem pvt register
sourcepub fn comb_pvt_hvt_conf(&self) -> &COMB_PVT_HVT_CONF
pub fn comb_pvt_hvt_conf(&self) -> &COMB_PVT_HVT_CONF
0x68 - mem pvt register
sourcepub fn comb_pvt_err_lvt_site0(&self) -> &COMB_PVT_ERR_LVT_SITE0
pub fn comb_pvt_err_lvt_site0(&self) -> &COMB_PVT_ERR_LVT_SITE0
0x6c - mem pvt register
sourcepub fn comb_pvt_err_nvt_site0(&self) -> &COMB_PVT_ERR_NVT_SITE0
pub fn comb_pvt_err_nvt_site0(&self) -> &COMB_PVT_ERR_NVT_SITE0
0x70 - mem pvt register
sourcepub fn comb_pvt_err_hvt_site0(&self) -> &COMB_PVT_ERR_HVT_SITE0
pub fn comb_pvt_err_hvt_site0(&self) -> &COMB_PVT_ERR_HVT_SITE0
0x74 - mem pvt register
sourcepub fn comb_pvt_err_lvt_site1(&self) -> &COMB_PVT_ERR_LVT_SITE1
pub fn comb_pvt_err_lvt_site1(&self) -> &COMB_PVT_ERR_LVT_SITE1
0x78 - mem pvt register
sourcepub fn comb_pvt_err_nvt_site1(&self) -> &COMB_PVT_ERR_NVT_SITE1
pub fn comb_pvt_err_nvt_site1(&self) -> &COMB_PVT_ERR_NVT_SITE1
0x7c - mem pvt register
sourcepub fn comb_pvt_err_hvt_site1(&self) -> &COMB_PVT_ERR_HVT_SITE1
pub fn comb_pvt_err_hvt_site1(&self) -> &COMB_PVT_ERR_HVT_SITE1
0x80 - mem pvt register
sourcepub fn comb_pvt_err_lvt_site2(&self) -> &COMB_PVT_ERR_LVT_SITE2
pub fn comb_pvt_err_lvt_site2(&self) -> &COMB_PVT_ERR_LVT_SITE2
0x84 - mem pvt register
sourcepub fn comb_pvt_err_nvt_site2(&self) -> &COMB_PVT_ERR_NVT_SITE2
pub fn comb_pvt_err_nvt_site2(&self) -> &COMB_PVT_ERR_NVT_SITE2
0x88 - mem pvt register
sourcepub fn comb_pvt_err_hvt_site2(&self) -> &COMB_PVT_ERR_HVT_SITE2
pub fn comb_pvt_err_hvt_site2(&self) -> &COMB_PVT_ERR_HVT_SITE2
0x8c - mem pvt register
sourcepub fn comb_pvt_err_lvt_site3(&self) -> &COMB_PVT_ERR_LVT_SITE3
pub fn comb_pvt_err_lvt_site3(&self) -> &COMB_PVT_ERR_LVT_SITE3
0x90 - mem pvt register
sourcepub fn comb_pvt_err_nvt_site3(&self) -> &COMB_PVT_ERR_NVT_SITE3
pub fn comb_pvt_err_nvt_site3(&self) -> &COMB_PVT_ERR_NVT_SITE3
0x94 - mem pvt register
sourcepub fn comb_pvt_err_hvt_site3(&self) -> &COMB_PVT_ERR_HVT_SITE3
pub fn comb_pvt_err_hvt_site3(&self) -> &COMB_PVT_ERR_HVT_SITE3
0x98 - mem pvt register
sourcepub fn system_reg_date(&self) -> &SYSTEM_REG_DATE
pub fn system_reg_date(&self) -> &SYSTEM_REG_DATE
0xffc - Version register