Struct Config
#[repr(transparent)]pub struct Config(pub u32);Expand description
Cryptomaster configuration.
Tuple Fields§
§0: u32Implementations§
§impl Config
impl Config
pub const fn fetchctrlindirect(&self) -> bool
pub const fn fetchctrlindirect(&self) -> bool
Fetcher scatter/gather.
pub const fn set_fetchctrlindirect(&mut self, val: bool)
pub const fn set_fetchctrlindirect(&mut self, val: bool)
Fetcher scatter/gather.
pub const fn pushctrlindirect(&self) -> bool
pub const fn pushctrlindirect(&self) -> bool
Pusher scatter/gather.
pub const fn set_pushctrlindirect(&mut self, val: bool)
pub const fn set_pushctrlindirect(&mut self, val: bool)
Pusher scatter/gather.
pub const fn set_fetchstop(&mut self, val: bool)
pub const fn set_fetchstop(&mut self, val: bool)
Stop fetcher.
pub const fn set_pushstop(&mut self, val: bool)
pub const fn set_pushstop(&mut self, val: bool)
Stop pusher DMA.
pub const fn set_softrst(&mut self, val: bool)
pub const fn set_softrst(&mut self, val: bool)
Soft reset the cryptomaster.
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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