RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 55 fields pub sec_ctrl_flash_rom_slave_rule: Reg<SEC_CTRL_FLASH_ROM_SLAVE_RULE_SPEC>, pub sec_ctrl_flash_mem_rule0: Reg<SEC_CTRL_FLASH_MEM_RULE0_SPEC>, pub sec_ctrl_flash_mem_rule1: Reg<SEC_CTRL_FLASH_MEM_RULE1_SPEC>, pub sec_ctrl_flash_mem_rule2: Reg<SEC_CTRL_FLASH_MEM_RULE2_SPEC>, pub sec_ctrl_rom_mem_rule0: Reg<SEC_CTRL_ROM_MEM_RULE0_SPEC>, pub sec_ctrl_rom_mem_rule1: Reg<SEC_CTRL_ROM_MEM_RULE1_SPEC>, pub sec_ctrl_rom_mem_rule2: Reg<SEC_CTRL_ROM_MEM_RULE2_SPEC>, pub sec_ctrl_rom_mem_rule3: Reg<SEC_CTRL_ROM_MEM_RULE3_SPEC>, pub sec_ctrl_ramx_slave_rule: Reg<SEC_CTRL_RAMX_SLAVE_RULE_SPEC>, pub sec_ctrl_ramx_mem_rule0: Reg<SEC_CTRL_RAMX_MEM_RULE0_SPEC>, pub sec_ctrl_ram0_slave_rule: Reg<SEC_CTRL_RAM0_SLAVE_RULE_SPEC>, pub sec_ctrl_ram0_mem_rule0: Reg<SEC_CTRL_RAM0_MEM_RULE0_SPEC>, pub sec_ctrl_ram0_mem_rule1: Reg<SEC_CTRL_RAM0_MEM_RULE1_SPEC>, pub sec_ctrl_ram1_slave_rule: Reg<SEC_CTRL_RAM1_SLAVE_RULE_SPEC>, pub sec_ctrl_ram1_mem_rule0: Reg<SEC_CTRL_RAM1_MEM_RULE0_SPEC>, pub sec_ctrl_ram1_mem_rule1: Reg<SEC_CTRL_RAM1_MEM_RULE1_SPEC>, pub sec_ctrl_ram2_slave_rule: Reg<SEC_CTRL_RAM2_SLAVE_RULE_SPEC>, pub sec_ctrl_ram2_mem_rule0: Reg<SEC_CTRL_RAM2_MEM_RULE0_SPEC>, pub sec_ctrl_ram2_mem_rule1: Reg<SEC_CTRL_RAM2_MEM_RULE1_SPEC>, pub sec_ctrl_ram3_slave_rule: Reg<SEC_CTRL_RAM3_SLAVE_RULE_SPEC>, pub sec_ctrl_ram3_mem_rule0: Reg<SEC_CTRL_RAM3_MEM_RULE0_SPEC>, pub sec_ctrl_ram3_mem_rule1: Reg<SEC_CTRL_RAM3_MEM_RULE1_SPEC>, pub sec_ctrl_ram4_slave_rule: Reg<SEC_CTRL_RAM4_SLAVE_RULE_SPEC>, pub sec_ctrl_ram4_mem_rule0: Reg<SEC_CTRL_RAM4_MEM_RULE0_SPEC>, pub sec_ctrl_apb_bridge_slave_rule: Reg<SEC_CTRL_APB_BRIDGE_SLAVE_RULE_SPEC>, pub sec_ctrl_apb_bridge0_mem_ctrl0: Reg<SEC_CTRL_APB_BRIDGE0_MEM_CTRL0_SPEC>, pub sec_ctrl_apb_bridge0_mem_ctrl1: Reg<SEC_CTRL_APB_BRIDGE0_MEM_CTRL1_SPEC>, pub sec_ctrl_apb_bridge0_mem_ctrl2: Reg<SEC_CTRL_APB_BRIDGE0_MEM_CTRL2_SPEC>, pub sec_ctrl_apb_bridge1_mem_ctrl0: Reg<SEC_CTRL_APB_BRIDGE1_MEM_CTRL0_SPEC>, pub sec_ctrl_apb_bridge1_mem_ctrl1: Reg<SEC_CTRL_APB_BRIDGE1_MEM_CTRL1_SPEC>, pub sec_ctrl_apb_bridge1_mem_ctrl2: Reg<SEC_CTRL_APB_BRIDGE1_MEM_CTRL2_SPEC>, pub sec_ctrl_apb_bridge1_mem_ctrl3: Reg<SEC_CTRL_APB_BRIDGE1_MEM_CTRL3_SPEC>, pub sec_ctrl_ahb_port8_slave0_rule: Reg<SEC_CTRL_AHB_PORT8_SLAVE0_RULE_SPEC>, pub sec_ctrl_ahb_port8_slave1_rule: Reg<SEC_CTRL_AHB_PORT8_SLAVE1_RULE_SPEC>, pub sec_ctrl_ahb_port9_slave0_rule: Reg<SEC_CTRL_AHB_PORT9_SLAVE0_RULE_SPEC>, pub sec_ctrl_ahb_port9_slave1_rule: Reg<SEC_CTRL_AHB_PORT9_SLAVE1_RULE_SPEC>, pub sec_ctrl_ahb_port10_slave0_rule: Reg<SEC_CTRL_AHB_PORT10_SLAVE0_RULE_SPEC>, pub sec_ctrl_ahb_port10_slave1_rule: Reg<SEC_CTRL_AHB_PORT10_SLAVE1_RULE_SPEC>, pub sec_ctrl_ahb_sec_ctrl_mem_rule: Reg<SEC_CTRL_AHB_SEC_CTRL_MEM_RULE_SPEC>, pub sec_ctrl_usb_hs_slave_rule: Reg<SEC_CTRL_USB_HS_SLAVE_RULE_SPEC>, pub sec_ctrl_usb_hs_mem_rule: Reg<SEC_CTRL_USB_HS_MEM_RULE_SPEC>, pub sec_vio_addr: [Reg<SEC_VIO_ADDR_SPEC>; 12], pub sec_vio_misc_info: [Reg<SEC_VIO_MISC_INFO_SPEC>; 12], pub sec_vio_info_valid: Reg<SEC_VIO_INFO_VALID_SPEC>, pub sec_gpio_mask0: Reg<SEC_GPIO_MASK0_SPEC>, pub sec_gpio_mask1: Reg<SEC_GPIO_MASK1_SPEC>, pub sec_cpu_int_mask0: Reg<SEC_CPU_INT_MASK0_SPEC>, pub sec_cpu_int_mask1: Reg<SEC_CPU_INT_MASK1_SPEC>, pub sec_mask_lock: Reg<SEC_MASK_LOCK_SPEC>, pub master_sec_level: Reg<MASTER_SEC_LEVEL_SPEC>, pub master_sec_anti_pol_reg: Reg<MASTER_SEC_ANTI_POL_REG_SPEC>, pub cpu0_lock_reg: Reg<CPU0_LOCK_REG_SPEC>, pub cpu1_lock_reg: Reg<CPU1_LOCK_REG_SPEC>, pub misc_ctrl_dp_reg: Reg<MISC_CTRL_DP_REG_SPEC>, pub misc_ctrl_reg: Reg<MISC_CTRL_REG_SPEC>, /* private fields */
}
Expand description

Register block

Fields§

§sec_ctrl_flash_rom_slave_rule: Reg<SEC_CTRL_FLASH_ROM_SLAVE_RULE_SPEC>

0x00 - Security access rules for Flash and ROM slaves.

§sec_ctrl_flash_mem_rule0: Reg<SEC_CTRL_FLASH_MEM_RULE0_SPEC>

0x10 - Security access rules for FLASH sector 0 to sector 20. Each Flash sector is 32 Kbytes. There are 20 FLASH sectors in total.

§sec_ctrl_flash_mem_rule1: Reg<SEC_CTRL_FLASH_MEM_RULE1_SPEC>

0x14 - Security access rules for FLASH sector 0 to sector 20. Each Flash sector is 32 Kbytes. There are 20 FLASH sectors in total.

§sec_ctrl_flash_mem_rule2: Reg<SEC_CTRL_FLASH_MEM_RULE2_SPEC>

0x18 - Security access rules for FLASH sector 0 to sector 20. Each Flash sector is 32 Kbytes. There are 20 FLASH sectors in total.

§sec_ctrl_rom_mem_rule0: Reg<SEC_CTRL_ROM_MEM_RULE0_SPEC>

0x20 - Security access rules for ROM sector 0 to sector 31. Each ROM sector is 4 Kbytes. There are 32 ROM sectors in total.

§sec_ctrl_rom_mem_rule1: Reg<SEC_CTRL_ROM_MEM_RULE1_SPEC>

0x24 - Security access rules for ROM sector 0 to sector 31. Each ROM sector is 4 Kbytes. There are 32 ROM sectors in total.

§sec_ctrl_rom_mem_rule2: Reg<SEC_CTRL_ROM_MEM_RULE2_SPEC>

0x28 - Security access rules for ROM sector 0 to sector 31. Each ROM sector is 4 Kbytes. There are 32 ROM sectors in total.

§sec_ctrl_rom_mem_rule3: Reg<SEC_CTRL_ROM_MEM_RULE3_SPEC>

0x2c - Security access rules for ROM sector 0 to sector 31. Each ROM sector is 4 Kbytes. There are 32 ROM sectors in total.

§sec_ctrl_ramx_slave_rule: Reg<SEC_CTRL_RAMX_SLAVE_RULE_SPEC>

0x30 - Security access rules for RAMX slaves.

§sec_ctrl_ramx_mem_rule0: Reg<SEC_CTRL_RAMX_MEM_RULE0_SPEC>

0x40 - Security access rules for RAMX slaves.

§sec_ctrl_ram0_slave_rule: Reg<SEC_CTRL_RAM0_SLAVE_RULE_SPEC>

0x50 - Security access rules for RAM0 slaves.

§sec_ctrl_ram0_mem_rule0: Reg<SEC_CTRL_RAM0_MEM_RULE0_SPEC>

0x60 - Security access rules for RAM0 slaves.

§sec_ctrl_ram0_mem_rule1: Reg<SEC_CTRL_RAM0_MEM_RULE1_SPEC>

0x64 - Security access rules for RAM0 slaves.

§sec_ctrl_ram1_slave_rule: Reg<SEC_CTRL_RAM1_SLAVE_RULE_SPEC>

0x70 - Security access rules for RAM1 slaves.

§sec_ctrl_ram1_mem_rule0: Reg<SEC_CTRL_RAM1_MEM_RULE0_SPEC>

0x80 - Security access rules for RAM1 slaves.

§sec_ctrl_ram1_mem_rule1: Reg<SEC_CTRL_RAM1_MEM_RULE1_SPEC>

0x84 - Security access rules for RAM1 slaves.

§sec_ctrl_ram2_slave_rule: Reg<SEC_CTRL_RAM2_SLAVE_RULE_SPEC>

0x90 - Security access rules for RAM2 slaves.

§sec_ctrl_ram2_mem_rule0: Reg<SEC_CTRL_RAM2_MEM_RULE0_SPEC>

0xa0 - Security access rules for RAM2 slaves.

§sec_ctrl_ram2_mem_rule1: Reg<SEC_CTRL_RAM2_MEM_RULE1_SPEC>

0xa4 - Security access rules for RAM2 slaves.

§sec_ctrl_ram3_slave_rule: Reg<SEC_CTRL_RAM3_SLAVE_RULE_SPEC>

0xb0 - Security access rules for RAM3 slaves.

§sec_ctrl_ram3_mem_rule0: Reg<SEC_CTRL_RAM3_MEM_RULE0_SPEC>

0xc0 - Security access rules for RAM3 slaves.

§sec_ctrl_ram3_mem_rule1: Reg<SEC_CTRL_RAM3_MEM_RULE1_SPEC>

0xc4 - Security access rules for RAM3 slaves.

§sec_ctrl_ram4_slave_rule: Reg<SEC_CTRL_RAM4_SLAVE_RULE_SPEC>

0xd0 - Security access rules for RAM4 slaves.

§sec_ctrl_ram4_mem_rule0: Reg<SEC_CTRL_RAM4_MEM_RULE0_SPEC>

0xe0 - Security access rules for RAM4 slaves.

§sec_ctrl_apb_bridge_slave_rule: Reg<SEC_CTRL_APB_BRIDGE_SLAVE_RULE_SPEC>

0xf0 - Security access rules for both APB Bridges slaves.

§sec_ctrl_apb_bridge0_mem_ctrl0: Reg<SEC_CTRL_APB_BRIDGE0_MEM_CTRL0_SPEC>

0x100 - Security access rules for APB Bridge 0 peripherals. Each APB bridge sector is 4 Kbytes. There are 32 APB Bridge 0 sectors in total.

§sec_ctrl_apb_bridge0_mem_ctrl1: Reg<SEC_CTRL_APB_BRIDGE0_MEM_CTRL1_SPEC>

0x104 - Security access rules for APB Bridge 0 peripherals. Each APB bridge sector is 4 Kbytes. There are 32 APB Bridge 0 sectors in total.

§sec_ctrl_apb_bridge0_mem_ctrl2: Reg<SEC_CTRL_APB_BRIDGE0_MEM_CTRL2_SPEC>

0x108 - Security access rules for APB Bridge 0 peripherals. Each APB bridge sector is 4 Kbytes. There are 32 APB Bridge 0 sectors in total.

§sec_ctrl_apb_bridge1_mem_ctrl0: Reg<SEC_CTRL_APB_BRIDGE1_MEM_CTRL0_SPEC>

0x110 - Security access rules for APB Bridge 1 peripherals. Each APB bridge sector is 4 Kbytes. There are 32 APB Bridge 1 sectors in total.

§sec_ctrl_apb_bridge1_mem_ctrl1: Reg<SEC_CTRL_APB_BRIDGE1_MEM_CTRL1_SPEC>

0x114 - Security access rules for APB Bridge 1 peripherals. Each APB bridge sector is 4 Kbytes. There are 32 APB Bridge 1 sectors in total.

§sec_ctrl_apb_bridge1_mem_ctrl2: Reg<SEC_CTRL_APB_BRIDGE1_MEM_CTRL2_SPEC>

0x118 - Security access rules for APB Bridge 1 peripherals. Each APB bridge sector is 4 Kbytes. There are 32 APB Bridge 1 sectors in total.

§sec_ctrl_apb_bridge1_mem_ctrl3: Reg<SEC_CTRL_APB_BRIDGE1_MEM_CTRL3_SPEC>

0x11c - Security access rules for APB Bridge 1 peripherals. Each APB bridge sector is 4 Kbytes. There are 32 APB Bridge 1 sectors in total.

§sec_ctrl_ahb_port8_slave0_rule: Reg<SEC_CTRL_AHB_PORT8_SLAVE0_RULE_SPEC>

0x120 - Security access rules for AHB peripherals.

§sec_ctrl_ahb_port8_slave1_rule: Reg<SEC_CTRL_AHB_PORT8_SLAVE1_RULE_SPEC>

0x124 - Security access rules for AHB peripherals.

§sec_ctrl_ahb_port9_slave0_rule: Reg<SEC_CTRL_AHB_PORT9_SLAVE0_RULE_SPEC>

0x130 - Security access rules for AHB peripherals.

§sec_ctrl_ahb_port9_slave1_rule: Reg<SEC_CTRL_AHB_PORT9_SLAVE1_RULE_SPEC>

0x134 - Security access rules for AHB peripherals.

§sec_ctrl_ahb_port10_slave0_rule: Reg<SEC_CTRL_AHB_PORT10_SLAVE0_RULE_SPEC>

0x140 - Security access rules for AHB peripherals.

§sec_ctrl_ahb_port10_slave1_rule: Reg<SEC_CTRL_AHB_PORT10_SLAVE1_RULE_SPEC>

0x144 - Security access rules for AHB peripherals.

§sec_ctrl_ahb_sec_ctrl_mem_rule: Reg<SEC_CTRL_AHB_SEC_CTRL_MEM_RULE_SPEC>

0x150 - Security access rules for AHB_SEC_CTRL_AHB.

§sec_ctrl_usb_hs_slave_rule: Reg<SEC_CTRL_USB_HS_SLAVE_RULE_SPEC>

0x160 - Security access rules for USB High speed RAM slaves.

§sec_ctrl_usb_hs_mem_rule: Reg<SEC_CTRL_USB_HS_MEM_RULE_SPEC>

0x170 - Security access rules for RAM_USB_HS.

§sec_vio_addr: [Reg<SEC_VIO_ADDR_SPEC>; 12]

0xe00..0xe30 - most recent security violation address for AHB port n

§sec_vio_misc_info: [Reg<SEC_VIO_MISC_INFO_SPEC>; 12]

0xe80..0xeb0 - most recent security violation miscellaneous information for AHB port n

§sec_vio_info_valid: Reg<SEC_VIO_INFO_VALID_SPEC>

0xf00 - security violation address/information registers valid flags

§sec_gpio_mask0: Reg<SEC_GPIO_MASK0_SPEC>

0xf80 - Secure GPIO mask for port 0 pins.

§sec_gpio_mask1: Reg<SEC_GPIO_MASK1_SPEC>

0xf84 - Secure GPIO mask for port 1 pins.

§sec_cpu_int_mask0: Reg<SEC_CPU_INT_MASK0_SPEC>

0xf90 - Secure Interrupt mask for CPU1

§sec_cpu_int_mask1: Reg<SEC_CPU_INT_MASK1_SPEC>

0xf94 - Secure Interrupt mask for CPU1

§sec_mask_lock: Reg<SEC_MASK_LOCK_SPEC>

0xfbc - Security General Purpose register access control.

§master_sec_level: Reg<MASTER_SEC_LEVEL_SPEC>

0xfd0 - master secure level register

§master_sec_anti_pol_reg: Reg<MASTER_SEC_ANTI_POL_REG_SPEC>

0xfd4 - master secure level anti-pole register

§cpu0_lock_reg: Reg<CPU0_LOCK_REG_SPEC>

0xfec - Miscalleneous control signals for in Cortex M33 (CPU0)

§cpu1_lock_reg: Reg<CPU1_LOCK_REG_SPEC>

0xff0 - Miscalleneous control signals for in micro-Cortex M33 (CPU1)

§misc_ctrl_dp_reg: Reg<MISC_CTRL_DP_REG_SPEC>

0xff8 - secure control duplicate register

§misc_ctrl_reg: Reg<MISC_CTRL_REG_SPEC>

0xffc - secure control register

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<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.