Struct esp_hal::peripherals::RNG
source · pub struct RNG { /* private fields */ }Implementations§
source§impl RNG
impl RNG
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Unsafely create an instance of this peripheral out of thin air.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
Trait Implementations§
source§impl Peripheral for RNG
impl Peripheral for RNG
Auto Trait Implementations§
impl Freeze for RNG
impl RefUnwindSafe for RNG
impl Send for RNG
impl Sync for RNG
impl Unpin for RNG
impl UnwindSafe for RNG
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