#[repr(transparent)]pub struct Config(pub u32);Expand description
Returns the configuration of this block in this chip - indicates what services are available.
Tuple Fields§
§0: u32Implementations§
Source§impl Config
impl Config
Sourcepub const fn set_aeskey(&mut self, val: bool)
pub const fn set_aeskey(&mut self, val: bool)
1 if AES 192 and 256 also included
Sourcepub const fn set_secret(&mut self, val: bool)
pub const fn set_secret(&mut self, val: bool)
1 if AES Secret key available
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 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