esp8266/rng/
rng.rs

1#[doc = "Register `rng` reader"]
2pub struct R(crate::R<RNG_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<RNG_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<RNG_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<RNG_SPEC>) -> Self {
13        R(reader)
14    }
15}
16#[doc = "RNG register\n\nThis register you can [`read`]
17(crate::generic::Reg::read). See [API]
18(https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [rng]
19(index.html) module"]
20pub struct RNG_SPEC;
21impl crate::RegisterSpec for RNG_SPEC {
22    type Ux = u32;
23}
24#[doc = "`read()` method returns [rng::R]
25(R) reader structure"]
26impl crate::Readable for RNG_SPEC {
27    type Reader = R;
28}
29#[doc = "`reset()` method sets rng to value 0"]
30impl crate::Resettable for RNG_SPEC {
31    #[inline(always)]
32    fn reset_value() -> Self::Ux {
33        0
34    }
35}