esp32c6/lp_timer/
main_buf0_low.rs

1#[doc = "Register `MAIN_BUF0_LOW` reader"]
2pub type R = crate::R<MAIN_BUF0_LOW_SPEC>;
3#[doc = "Field `MAIN_TIMER_BUF0_LOW` reader - need_des"]
4pub type MAIN_TIMER_BUF0_LOW_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31 - need_des"]
7    #[inline(always)]
8    pub fn main_timer_buf0_low(&self) -> MAIN_TIMER_BUF0_LOW_R {
9        MAIN_TIMER_BUF0_LOW_R::new(self.bits)
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("MAIN_BUF0_LOW")
16            .field("main_timer_buf0_low", &self.main_timer_buf0_low())
17            .finish()
18    }
19}
20#[doc = "need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`main_buf0_low::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct MAIN_BUF0_LOW_SPEC;
22impl crate::RegisterSpec for MAIN_BUF0_LOW_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [`main_buf0_low::R`](R) reader structure"]
26impl crate::Readable for MAIN_BUF0_LOW_SPEC {}
27#[doc = "`reset()` method sets MAIN_BUF0_LOW to value 0"]
28impl crate::Resettable for MAIN_BUF0_LOW_SPEC {
29    const RESET_VALUE: u32 = 0;
30}