RNG

Type Alias RNG 

Source
pub type RNG = Periph<RegisterBlock, 1342572544>;
Expand description

Random number generator

See peripheral structure

Aliased Type§

pub struct RNG { /* private fields */ }

Trait Implementations§

Source§

impl Enable for RNG

Source§

fn enable(rcc: &mut RCC)

Enables peripheral
Source§

fn disable(rcc: &mut RCC)

Disables peripheral
Source§

fn is_enabled() -> bool

Check if peripheral enabled
Source§

fn is_disabled() -> bool

Check if peripheral disabled
Source§

unsafe fn enable_unchecked()

Safety Read more
Source§

unsafe fn disable_unchecked()

Safety Read more
Source§

impl LPEnable for RNG

Source§

fn enable_in_low_power(rcc: &mut RCC)

Enables peripheral in low power mode
Source§

fn disable_in_low_power(rcc: &mut RCC)

Disables peripheral in low power mode
Source§

fn is_enabled_in_low_power() -> bool

Check if peripheral enabled in low power mode
Source§

fn is_disabled_in_low_power() -> bool

Check if peripheral disabled in low power mode
Source§

unsafe fn enable_in_low_power_unchecked()

Safety Read more
Source§

unsafe fn disable_in_low_power_unchecked()

Safety Read more
Source§

impl RccBus for RNG

Source§

type Bus = AHB2

Bus type;
Source§

impl Reset for RNG

Source§

fn reset(rcc: &mut RCC)

Resets peripheral
Source§

unsafe fn reset_unchecked()

Safety Read more
Source§

impl RngExt for RNG

Source§

fn constrain(self, rcc: &mut Rcc) -> Rng

Enables the hardware random generator and provides the Rng struct. Read more