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 core_1_control_0(&self) -> &CORE_1_CONTROL_0
pub fn core_1_control_0(&self) -> &CORE_1_CONTROL_0
0x00 - Core0 control regiter 0
sourcepub fn core_1_control_1(&self) -> &CORE_1_CONTROL_1
pub fn core_1_control_1(&self) -> &CORE_1_CONTROL_1
0x04 - Core0 control regiter 1
sourcepub fn cpu_peri_clk_en(&self) -> &CPU_PERI_CLK_EN
pub fn cpu_peri_clk_en(&self) -> &CPU_PERI_CLK_EN
0x08 - cpu_peripheral clock configuration register
sourcepub fn cpu_peri_rst_en(&self) -> &CPU_PERI_RST_EN
pub fn cpu_peri_rst_en(&self) -> &CPU_PERI_RST_EN
0x0c - cpu_peripheral reset configuration regsiter
sourcepub fn cpu_per_conf(&self) -> &CPU_PER_CONF
pub fn cpu_per_conf(&self) -> &CPU_PER_CONF
0x10 - cpu peripheral clock configuration register
sourcepub fn mem_pd_mask(&self) -> &MEM_PD_MASK
pub fn mem_pd_mask(&self) -> &MEM_PD_MASK
0x14 - memory power down mask configuration register
sourcepub fn perip_clk_en0(&self) -> &PERIP_CLK_EN0
pub fn perip_clk_en0(&self) -> &PERIP_CLK_EN0
0x18 - peripheral clock configuration regsiter 0
sourcepub fn perip_clk_en1(&self) -> &PERIP_CLK_EN1
pub fn perip_clk_en1(&self) -> &PERIP_CLK_EN1
0x1c - peripheral clock configuration regsiter 1
sourcepub fn perip_rst_en0(&self) -> &PERIP_RST_EN0
pub fn perip_rst_en0(&self) -> &PERIP_RST_EN0
0x20 - peripheral reset configuration register0
sourcepub fn perip_rst_en1(&self) -> &PERIP_RST_EN1
pub fn perip_rst_en1(&self) -> &PERIP_RST_EN1
0x24 - peripheral reset configuration regsiter 1
sourcepub fn bt_lpck_div_int(&self) -> &BT_LPCK_DIV_INT
pub fn bt_lpck_div_int(&self) -> &BT_LPCK_DIV_INT
0x28 - low power clock frequent division factor configuration regsiter
sourcepub fn bt_lpck_div_frac(&self) -> &BT_LPCK_DIV_FRAC
pub fn bt_lpck_div_frac(&self) -> &BT_LPCK_DIV_FRAC
0x2c - low power clock configuration 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
0x30 - interrupt source register 0
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
0x34 - interrupt source register 1
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
0x38 - interrupt source register 2
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
0x3c - interrupt source register 3
sourcepub fn rsa_pd_ctrl(&self) -> &RSA_PD_CTRL
pub fn rsa_pd_ctrl(&self) -> &RSA_PD_CTRL
0x40 - rsa memory power control register
sourcepub fn cache_control(&self) -> &CACHE_CONTROL
pub fn cache_control(&self) -> &CACHE_CONTROL
0x48 - 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
0x4c - External memory encrypt and decrypt control register
sourcepub fn rtc_fastmem_config(&self) -> &RTC_FASTMEM_CONFIG
pub fn rtc_fastmem_config(&self) -> &RTC_FASTMEM_CONFIG
0x50 - RTC fast memory configuration register
sourcepub fn rtc_fastmem_crc(&self) -> &RTC_FASTMEM_CRC
pub fn rtc_fastmem_crc(&self) -> &RTC_FASTMEM_CRC
0x54 - RTC fast memory CRC control register
sourcepub fn redundant_eco_ctrl(&self) -> &REDUNDANT_ECO_CTRL
pub fn redundant_eco_ctrl(&self) -> &REDUNDANT_ECO_CTRL
0x58 - ******* Description ***********
sourcepub fn clock_gate(&self) -> &CLOCK_GATE
pub fn clock_gate(&self) -> &CLOCK_GATE
0x5c - ******* Description ***********
sourcepub fn sysclk_conf(&self) -> &SYSCLK_CONF
pub fn sysclk_conf(&self) -> &SYSCLK_CONF
0x60 - System clock configuration register.
sourcepub fn comb_pvt_lvt_conf(&self) -> &COMB_PVT_LVT_CONF
pub fn comb_pvt_lvt_conf(&self) -> &COMB_PVT_LVT_CONF
0x68 - ******* Description ***********
sourcepub fn comb_pvt_nvt_conf(&self) -> &COMB_PVT_NVT_CONF
pub fn comb_pvt_nvt_conf(&self) -> &COMB_PVT_NVT_CONF
0x6c - ******* Description ***********
sourcepub fn comb_pvt_hvt_conf(&self) -> &COMB_PVT_HVT_CONF
pub fn comb_pvt_hvt_conf(&self) -> &COMB_PVT_HVT_CONF
0x70 - ******* Description ***********
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
0x74 - ******* Description ***********
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
0x78 - ******* Description ***********
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
0x7c - ******* Description ***********
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
0x80 - ******* Description ***********
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
0x84 - ******* Description ***********
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
0x88 - ******* Description ***********
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
0x8c - ******* Description ***********
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
0x90 - ******* Description ***********
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
0x94 - ******* Description ***********
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
0x98 - ******* Description ***********
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
0x9c - ******* Description ***********
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
0xa0 - ******* Description ***********