esp32c6/lp_io/
in_.rs

1#[doc = "Register `IN` reader"]
2pub type R = crate::R<IN_SPEC>;
3#[doc = "Field `DATA_NEXT` reader - need des"]
4pub type DATA_NEXT_R = crate::FieldReader;
5impl R {
6    #[doc = "Bits 0:7 - need des"]
7    #[inline(always)]
8    pub fn data_next(&self) -> DATA_NEXT_R {
9        DATA_NEXT_R::new((self.bits & 0xff) as u8)
10    }
11}
12#[cfg(feature = "impl-register-debug")]
13impl core::fmt::Debug for R {
14    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
15        f.debug_struct("IN")
16            .field("data_next", &self.data_next())
17            .finish()
18    }
19}
20#[doc = "need des\n\nYou can [`read`](crate::Reg::read) this register and get [`in_::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct IN_SPEC;
22impl crate::RegisterSpec for IN_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [`in_::R`](R) reader structure"]
26impl crate::Readable for IN_SPEC {}
27#[doc = "`reset()` method sets IN to value 0"]
28impl crate::Resettable for IN_SPEC {
29    const RESET_VALUE: u32 = 0;
30}