Struct stm32l4xx_hal::rng::Rng
source · [−]pub struct Rng { /* private fields */ }
Expand description
Constrained RNG peripheral
Implementations
sourceimpl Rng
impl Rng
pub fn free(self) -> RNG
pub fn get_random_data(&self) -> u32
pub fn is_interrupt_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
pub fn is_clock_error(&self) -> bool
pub fn is_seed_error(&self) -> bool
pub fn is_data_ready(&self) -> bool
pub fn possibly_invalid_random_data(&self) -> u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Rng
impl Send for Rng
impl !Sync for Rng
impl Unpin for Rng
impl UnwindSafe for Rng
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more