Enum TrngConfigRoscLen
#[repr(u8)]pub enum TrngConfigRoscLen {
Rosc1 = 0,
Rosc2 = 1,
Rosc3 = 2,
Rosc4 = 3,
}Variants§
Rosc1 = 0
Use shortest ROSC1 ring oscillator configuration.
Rosc2 = 1
Use ROSC2 ring oscillator configuration.
Rosc3 = 2
Use ROSC3 ring oscillator configuration.
Rosc4 = 3
Use longest ROSC4 ring oscillator configuration.
Implementations§
§impl TrngConfigRoscLen
impl TrngConfigRoscLen
pub const fn from_bits(val: u8) -> TrngConfigRoscLen
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for TrngConfigRoscLen
impl Clone for TrngConfigRoscLen
§fn clone(&self) -> TrngConfigRoscLen
fn clone(&self) -> TrngConfigRoscLen
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TrngConfigRoscLen
§impl Debug for TrngConfigRoscLen
impl Debug for TrngConfigRoscLen
impl Eq for TrngConfigRoscLen
§impl From<u8> for TrngConfigRoscLen
impl From<u8> for TrngConfigRoscLen
§fn from(val: u8) -> TrngConfigRoscLen
fn from(val: u8) -> TrngConfigRoscLen
Converts to this type from the input type.
§impl Ord for TrngConfigRoscLen
impl Ord for TrngConfigRoscLen
§fn cmp(&self, other: &TrngConfigRoscLen) -> Ordering
fn cmp(&self, other: &TrngConfigRoscLen) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for TrngConfigRoscLen
impl PartialEq for TrngConfigRoscLen
§impl PartialOrd for TrngConfigRoscLen
impl PartialOrd for TrngConfigRoscLen
impl StructuralPartialEq for TrngConfigRoscLen
Auto Trait Implementations§
impl Freeze for TrngConfigRoscLen
impl RefUnwindSafe for TrngConfigRoscLen
impl Send for TrngConfigRoscLen
impl Sync for TrngConfigRoscLen
impl Unpin for TrngConfigRoscLen
impl UnsafeUnpin for TrngConfigRoscLen
impl UnwindSafe for TrngConfigRoscLen
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