pub enum ErrorKind {
ClockError = 2,
SeedError = 4,
}
Expand description
Random number generator specific errors
Variants§
ClockError = 2
The RNG_CLK was not correctly detected (fRNG_CLK< fHCLK/16). See CECS in RNG peripheral documentation.
SeedError = 4
RNG detected more than 64 consecutive bits of the same value (0 or 1) OR more than 32 consecutive 01 pairs. See SECS in RNG peripheral documentation.
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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