[−][src]Struct imxrt1062_bee::R
Register/field reader
Result of the read
method of a register.
Also it can be used in the modify
method
Methods
impl<U, T> R<U, T> where
U: Copy,
[src]
U: Copy,
impl<FI> R<bool, FI>
[src]
pub fn bit(&self) -> bool
[src]
Value of the field as raw bits
pub fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1)
impl R<bool, BEE_ENABLE_A>
[src]
pub fn variant(&self) -> BEE_ENABLE_A
[src]
Get enumerated values variant
pub fn is_bee_enable_0(&self) -> bool
[src]
Checks if the value of the field is BEE_ENABLE_0
pub fn is_bee_enable_1(&self) -> bool
[src]
Checks if the value of the field is BEE_ENABLE_1
impl R<bool, KEY_REGION_SEL_A>
[src]
pub fn variant(&self) -> KEY_REGION_SEL_A
[src]
Get enumerated values variant
pub fn is_key_region_sel_0(&self) -> bool
[src]
Checks if the value of the field is KEY_REGION_SEL_0
pub fn is_key_region_sel_1(&self) -> bool
[src]
Checks if the value of the field is KEY_REGION_SEL_1
impl R<bool, LITTLE_ENDIAN_A>
[src]
pub fn variant(&self) -> LITTLE_ENDIAN_A
[src]
Get enumerated values variant
pub fn is_little_endian_0(&self) -> bool
[src]
Checks if the value of the field is LITTLE_ENDIAN_0
pub fn is_little_endian_1(&self) -> bool
[src]
Checks if the value of the field is LITTLE_ENDIAN_1
impl R<bool, CTRL_AES_MODE_R0_A>
[src]
pub fn variant(&self) -> CTRL_AES_MODE_R0_A
[src]
Get enumerated values variant
pub fn is_ctrl_aes_mode_r0_0(&self) -> bool
[src]
Checks if the value of the field is CTRL_AES_MODE_R0_0
pub fn is_ctrl_aes_mode_r0_1(&self) -> bool
[src]
Checks if the value of the field is CTRL_AES_MODE_R0_1
impl R<bool, CTRL_AES_MODE_R1_A>
[src]
pub fn variant(&self) -> CTRL_AES_MODE_R1_A
[src]
Get enumerated values variant
pub fn is_ctrl_aes_mode_r1_0(&self) -> bool
[src]
Checks if the value of the field is CTRL_AES_MODE_R1_0
pub fn is_ctrl_aes_mode_r1_1(&self) -> bool
[src]
Checks if the value of the field is CTRL_AES_MODE_R1_1
impl R<u32, Reg<u32, _CTRL>>
[src]
pub fn bee_enable(&self) -> BEE_ENABLE_R
[src]
Bit 0 - BEE enable bit
pub fn ctrl_clk_en(&self) -> CTRL_CLK_EN_R
[src]
Bit 1 - Clock enable input, low inactive
pub fn ctrl_sftrst_n(&self) -> CTRL_SFTRST_N_R
[src]
Bit 2 - Soft reset input, low active
pub fn key_valid(&self) -> KEY_VALID_R
[src]
Bit 4 - AES-128 key is ready
pub fn key_region_sel(&self) -> KEY_REGION_SEL_R
[src]
Bit 5 - AES key region select
pub fn ac_prot_en(&self) -> AC_PROT_EN_R
[src]
Bit 6 - Enable access permission control When AC_PROT_EN is asserted, all encrypted regions are limited to be ARM core access only
pub fn little_endian(&self) -> LITTLE_ENDIAN_R
[src]
Bit 7 - Endian swap control for the 16 bytes input and output data of AES core.
pub fn security_level_r0(&self) -> SECURITY_LEVEL_R0_R
[src]
Bits 8:9 - Security level of the allowed access for memory region0
pub fn ctrl_aes_mode_r0(&self) -> CTRL_AES_MODE_R0_R
[src]
Bit 10 - AES mode of region0
pub fn security_level_r1(&self) -> SECURITY_LEVEL_R1_R
[src]
Bits 12:13 - Security level of the allowed access for memory region1
pub fn ctrl_aes_mode_r1(&self) -> CTRL_AES_MODE_R1_R
[src]
Bit 14 - AES mode of region1
pub fn bee_enable_lock(&self) -> BEE_ENABLE_LOCK_R
[src]
Bit 16 - Lock bit for bee_enable
pub fn ctrl_clk_en_lock(&self) -> CTRL_CLK_EN_LOCK_R
[src]
Bit 17 - Lock bit for ctrl_clk_en
pub fn ctrl_sftrst_n_lock(&self) -> CTRL_SFTRST_N_LOCK_R
[src]
Bit 18 - Lock bit for ctrl_sftrst
pub fn region1_addr_lock(&self) -> REGION1_ADDR_LOCK_R
[src]
Bit 19 - Lock bit for region1 address boundary
pub fn key_valid_lock(&self) -> KEY_VALID_LOCK_R
[src]
Bit 20 - Lock bit for key_valid
pub fn key_region_sel_lock(&self) -> KEY_REGION_SEL_LOCK_R
[src]
Bit 21 - Lock bit for key_region_sel
pub fn ac_prot_en_lock(&self) -> AC_PROT_EN_LOCK_R
[src]
Bit 22 - Lock bit for ac_prot
pub fn little_endian_lock(&self) -> LITTLE_ENDIAN_LOCK_R
[src]
Bit 23 - Lock bit for little_endian
pub fn security_level_r0_lock(&self) -> SECURITY_LEVEL_R0_LOCK_R
[src]
Bits 24:25 - Lock bits for security_level_r0
pub fn ctrl_aes_mode_r0_lock(&self) -> CTRL_AES_MODE_R0_LOCK_R
[src]
Bit 26 - Lock bit for region0 ctrl_aes_mode
pub fn region0_key_lock(&self) -> REGION0_KEY_LOCK_R
[src]
Bit 27 - Lock bit for region0 AES key
pub fn security_level_r1_lock(&self) -> SECURITY_LEVEL_R1_LOCK_R
[src]
Bits 28:29 - Lock bits for security_level_r1
pub fn ctrl_aes_mode_r1_lock(&self) -> CTRL_AES_MODE_R1_LOCK_R
[src]
Bit 30 - Lock bit for region1 ctrl_aes_mode
pub fn region1_key_lock(&self) -> REGION1_KEY_LOCK_R
[src]
Bit 31 - Lock bit for region1 AES key
impl R<u32, Reg<u32, _ADDR_OFFSET0>>
[src]
pub fn addr_offset0(&self) -> ADDR_OFFSET0_R
[src]
Bits 0:15 - Signed offset for BEE region 0
pub fn addr_offset0_lock(&self) -> ADDR_OFFSET0_LOCK_R
[src]
Bits 16:31 - Lock bits for addr_offset0
impl R<u32, Reg<u32, _ADDR_OFFSET1>>
[src]
pub fn addr_offset1(&self) -> ADDR_OFFSET1_R
[src]
Bits 0:15 - Signed offset for BEE region 1
pub fn addr_offset1_lock(&self) -> ADDR_OFFSET1_LOCK_R
[src]
Bits 16:31 - Lock bits for addr_offset1
impl R<u32, Reg<u32, _AES_KEY0_W0>>
[src]
impl R<u32, Reg<u32, _AES_KEY0_W1>>
[src]
impl R<u32, Reg<u32, _AES_KEY0_W2>>
[src]
impl R<u32, Reg<u32, _AES_KEY0_W3>>
[src]
impl R<u32, Reg<u32, _STATUS>>
[src]
pub fn irq_vec(&self) -> IRQ_VEC_R
[src]
Bits 0:7 - bit 7: Protected region-3 access violation bit 6: Protected region-2 access violation bit 5: Protected region-1 access violation bit 4: Protected region-0 access violation bit 3: Region-1 read channel security violation bit 2: Read channel illegal access detected bit 1: Region-0 read channel security violation bit 0: Disable abort
pub fn bee_idle(&self) -> BEE_IDLE_R
[src]
Bit 8 - 1'b1: BEE is idle; 1'b0: BEE is active
impl R<u32, Reg<u32, _REGION1_TOP>>
[src]
pub fn region1_top(&self) -> REGION1_TOP_R
[src]
Bits 0:31 - Address upper limit of region1
impl R<u32, Reg<u32, _REGION1_BOT>>
[src]
pub fn region1_bot(&self) -> REGION1_BOT_R
[src]
Bits 0:31 - Address lower limit of region1
Trait Implementations
Auto Trait Implementations
impl<U, T> Send for R<U, T> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<U, T> Sync for R<U, T> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<U, T> Unpin for R<U, T> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,