pub struct RNG { /* private fields */ }Expand description
Random number generator
Implementations§
Trait Implementations§
Source§impl Enable for RNG
impl Enable for RNG
Source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
Source§fn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
Source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
Source§impl LPEnable for RNG
impl LPEnable for RNG
Source§fn low_power_enable(bus: &mut Self::Bus)
fn low_power_enable(bus: &mut Self::Bus)
Enables peripheral
Source§fn low_power_disable(bus: &mut Self::Bus)
fn low_power_disable(bus: &mut Self::Bus)
Disables peripheral
Source§fn is_low_power_enabled() -> bool
fn is_low_power_enabled() -> bool
Check if peripheral enabled
Source§fn is_low_power_disabled() -> bool
fn is_low_power_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn low_power_enable_unchecked()
unsafe fn low_power_enable_unchecked()
Safety Read more
Source§unsafe fn low_power_disable_unchecked()
unsafe fn low_power_disable_unchecked()
Safety Read more
impl Send for RNG
Auto Trait Implementations§
impl Freeze for RNG
impl RefUnwindSafe 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