#[repr(transparent)]pub struct PkcCtrl(pub u32);Expand description
Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl PkcCtrl
impl PkcCtrl
Sourcepub const fn set_god1(&mut self, val: bool)
pub const fn set_god1(&mut self, val: bool)
Control bit to start direct operation using parameter set 1
Sourcepub const fn set_god2(&mut self, val: bool)
pub const fn set_god2(&mut self, val: bool)
Control bit to start direct operation using parameter set 2
Sourcepub const fn set_gom1(&mut self, val: bool)
pub const fn set_gom1(&mut self, val: bool)
Control bit to start MC pattern using parameter set 1
Sourcepub const fn set_gom2(&mut self, val: bool)
pub const fn set_gom2(&mut self, val: bool)
Control bit to start MC pattern using parameter set 2
Sourcepub const fn set_gf2conv(&mut self, val: bool)
pub const fn set_gf2conv(&mut self, val: bool)
Convert to GF2 calculation modes
Sourcepub const fn set_clrcache(&mut self, val: bool)
pub const fn set_clrcache(&mut self, val: bool)
Clear universal pointer cache
Sourcepub const fn set_cache_en(&mut self, val: bool)
pub const fn set_cache_en(&mut self, val: bool)
Enable universal pointer cache
Sourcepub const fn set_redmul(&mut self, val: Redmul)
pub const fn set_redmul(&mut self, val: Redmul)
Reduced multiplier mode
Trait Implementations§
impl Copy for PkcCtrl
impl Eq for PkcCtrl
impl StructuralPartialEq for PkcCtrl
Auto Trait Implementations§
impl Freeze for PkcCtrl
impl RefUnwindSafe for PkcCtrl
impl Send for PkcCtrl
impl Sync for PkcCtrl
impl Unpin for PkcCtrl
impl UnwindSafe for PkcCtrl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more