esp32/rng/
data.rs

1#[doc = "Register `DATA` reader"]
2pub type R = crate::R<DATA_SPEC>;
3#[cfg(feature = "impl-register-debug")]
4impl core::fmt::Debug for R {
5    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
6        write!(f, "{}", self.bits())
7    }
8}
9#[doc = "Random number data\n\nYou can [`read`](crate::Reg::read) this register and get [`data::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
10pub struct DATA_SPEC;
11impl crate::RegisterSpec for DATA_SPEC {
12    type Ux = u32;
13}
14#[doc = "`read()` method returns [`data::R`](R) reader structure"]
15impl crate::Readable for DATA_SPEC {}
16#[doc = "`reset()` method sets DATA to value 0"]
17impl crate::Resettable for DATA_SPEC {
18    const RESET_VALUE: u32 = 0;
19}