#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "0x00 - RNG control register"]
pub rng_cr: RNG_CR,
#[doc = "0x04 - RNG status register"]
pub rng_sr: RNG_SR,
#[doc = "0x08 - The RNG_DR register is a read-only register that delivers a 32-bit random value when read. The content of this register is valid when DRDY= 1, even if RNGEN=0."]
pub rng_dr: RNG_DR,
}
#[doc = "RNG control register"]
pub struct RNG_CR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RNG control register"]
pub mod rng_cr;
#[doc = "RNG status register"]
pub struct RNG_SR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RNG status register"]
pub mod rng_sr;
#[doc = "The RNG_DR register is a read-only register that delivers a 32-bit random value when read. The content of this register is valid when DRDY= 1, even if RNGEN=0."]
pub struct RNG_DR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "The RNG_DR register is a read-only register that delivers a 32-bit random value when read. The content of this register is valid when DRDY= 1, even if RNGEN=0."]
pub mod rng_dr;