pub struct RNG { /* private fields */ }
Expand description
Random number generator
Implementations
impl RNG
impl RNG
pub const PTR: *const RegisterBlock = {0x50060800 as *const stm32f4xx_hal::pac::rng::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x50060800 as *const stm32f4xx_hal::pac::rng::RegisterBlock}
Pointer to the register block
pub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl Enable for RNG
impl Enable for RNG
fn enable(rcc: &RegisterBlock)
fn disable(rcc: &RegisterBlock)
sourceimpl LPEnable for RNG
impl LPEnable for RNG
fn low_power_enable(rcc: &RegisterBlock)
fn low_power_disable(rcc: &RegisterBlock)
impl Send for RNG
Auto Trait Implementations
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