1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - RNG control register"] pub cr: CR, #[doc = "0x04 - RNG status register"] pub sr: 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 dr: DR, } #[doc = "RNG control register"] pub struct CR { register: vcell::VolatileCell<u32>, } #[doc = "RNG control register"] pub mod cr; #[doc = "RNG status register"] pub struct SR { register: vcell::VolatileCell<u32>, } #[doc = "RNG status register"] pub mod 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 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 dr;