#[repr(transparent)]pub struct Ipedctrl(pub u32);Expand description
IPED Function Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Ipedctrl
impl Ipedctrl
Sourcepub const fn config(&self) -> bool
pub const fn config(&self) -> bool
IPED Mode Select. Raw bit values: false (0) = Val0: Fully pipelined.; true (1) = Val1: Not fully pipelined.
Sourcepub const fn set_config(&mut self, val: bool)
pub const fn set_config(&mut self, val: bool)
IPED Mode Select. Raw bit values: false (0) = Val0: Fully pipelined.; true (1) = Val1: Not fully pipelined.
Sourcepub const fn iped_en(&self) -> bool
pub const fn iped_en(&self) -> bool
IPED Encryption and Decryption Enable. Raw bit values: false (0) = Val0: Disable.; true (1) = Val1: Enable.
Sourcepub const fn set_iped_en(&mut self, val: bool)
pub const fn set_iped_en(&mut self, val: bool)
IPED Encryption and Decryption Enable. Raw bit values: false (0) = Val0: Disable.; true (1) = Val1: Enable.
Sourcepub const fn ipwr_en(&self) -> bool
pub const fn ipwr_en(&self) -> bool
IP Write IPED CTR Mode Encryption Enable. Raw bit values: false (0) = Val0: Disable.; true (1) = Val1: Enable.
Sourcepub const fn set_ipwr_en(&mut self, val: bool)
pub const fn set_ipwr_en(&mut self, val: bool)
IP Write IPED CTR Mode Encryption Enable. Raw bit values: false (0) = Val0: Disable.; true (1) = Val1: Enable.
Sourcepub const fn ahbwr_en(&self) -> bool
pub const fn ahbwr_en(&self) -> bool
AHB Write IPED CTR Mode Encryption Enable. Raw bit values: false (0) = Val0: Disable.; true (1) = Val1: Enable.
Sourcepub const fn set_ahbwr_en(&mut self, val: bool)
pub const fn set_ahbwr_en(&mut self, val: bool)
AHB Write IPED CTR Mode Encryption Enable. Raw bit values: false (0) = Val0: Disable.; true (1) = Val1: Enable.
Sourcepub const fn ahbrd_en(&self) -> bool
pub const fn ahbrd_en(&self) -> bool
AHB Read IPED CTR Mode Decryption Enable. Raw bit values: false (0) = Val0: Disable.; true (1) = Val1: Enable.
Sourcepub const fn set_ahbrd_en(&mut self, val: bool)
pub const fn set_ahbrd_en(&mut self, val: bool)
AHB Read IPED CTR Mode Decryption Enable. Raw bit values: false (0) = Val0: Disable.; true (1) = Val1: Enable.
Sourcepub const fn iped_protect(&self) -> bool
pub const fn iped_protect(&self) -> bool
IPED Protection. Raw bit values: false (0) = Val0: No restrictions.; true (1) = Val1: Only privileged controllers can write IPED registers.
Sourcepub const fn set_iped_protect(&mut self, val: bool)
pub const fn set_iped_protect(&mut self, val: bool)
IPED Protection. Raw bit values: false (0) = Val0: No restrictions.; true (1) = Val1: Only privileged controllers can write IPED registers.
Sourcepub const fn iped_swreset(&self) -> bool
pub const fn iped_swreset(&self) -> bool
Abort Current Decryption or Encryption. Raw bit values: false (0) = Val0: No function.; true (1) = Val1: Aborts current decryption or encryption and waits for the next start operation.
Sourcepub const fn set_iped_swreset(&mut self, val: bool)
pub const fn set_iped_swreset(&mut self, val: bool)
Abort Current Decryption or Encryption. Raw bit values: false (0) = Val0: No function.; true (1) = Val1: Aborts current decryption or encryption and waits for the next start operation.