#[repr(u8)]pub enum TrngEntCtl {
TRNG_ENT_CTL_SINGLE_OSC1 = 0,
TRNG_ENT_CTL_DUAL_OSCS = 1,
TRNG_ENT_CTL_SINGLE_OSC2 = 2,
OSC2_DIV_DIV8 = 3,
}Variants§
TRNG_ENT_CTL_SINGLE_OSC1 = 0
Single oscillator mode, using OSC1 (default)
TRNG_ENT_CTL_DUAL_OSCS = 1
Dual oscillator mode
TRNG_ENT_CTL_SINGLE_OSC2 = 2
Single oscillator mode, using OSC2
OSC2_DIV_DIV8 = 3
Unused, (bit field cannot be written to this value)
Implementations§
Source§impl TrngEntCtl
impl TrngEntCtl
Trait Implementations§
Source§impl Clone for TrngEntCtl
impl Clone for TrngEntCtl
Source§fn clone(&self) -> TrngEntCtl
fn clone(&self) -> TrngEntCtl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrngEntCtl
impl Debug for TrngEntCtl
Source§impl From<TrngEntCtl> for u8
impl From<TrngEntCtl> for u8
Source§fn from(val: TrngEntCtl) -> u8
fn from(val: TrngEntCtl) -> u8
Converts to this type from the input type.
Source§impl From<u8> for TrngEntCtl
impl From<u8> for TrngEntCtl
Source§fn from(val: u8) -> TrngEntCtl
fn from(val: u8) -> TrngEntCtl
Converts to this type from the input type.
Source§impl Ord for TrngEntCtl
impl Ord for TrngEntCtl
Source§fn cmp(&self, other: &TrngEntCtl) -> Ordering
fn cmp(&self, other: &TrngEntCtl) -> Ordering
1.21.0 · 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
Source§impl PartialEq for TrngEntCtl
impl PartialEq for TrngEntCtl
Source§impl PartialOrd for TrngEntCtl
impl PartialOrd for TrngEntCtl
impl Copy for TrngEntCtl
impl Eq for TrngEntCtl
impl StructuralPartialEq for TrngEntCtl
Auto Trait Implementations§
impl Freeze for TrngEntCtl
impl RefUnwindSafe for TrngEntCtl
impl Send for TrngEntCtl
impl Sync for TrngEntCtl
impl Unpin for TrngEntCtl
impl UnwindSafe for TrngEntCtl
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