esp32c6/timg0/t/
lo.rs

1#[doc = "Register `LO` reader"]
2pub type R = crate::R<LO_SPEC>;
3#[doc = "Field `LO` reader - After writing to TIMG_T%sUPDATE_REG, the low 32 bits of the time-base counter of timer %s can be read here."]
4pub type LO_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31 - After writing to TIMG_T%sUPDATE_REG, the low 32 bits of the time-base counter of timer %s can be read here."]
7    #[inline(always)]
8    pub fn lo(&self) -> LO_R {
9        LO_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("LO").field("lo", &self.lo()).finish()
16    }
17}
18#[doc = "Timer %s current value, low 32 bits\n\nYou can [`read`](crate::Reg::read) this register and get [`lo::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
19pub struct LO_SPEC;
20impl crate::RegisterSpec for LO_SPEC {
21    type Ux = u32;
22}
23#[doc = "`read()` method returns [`lo::R`](R) reader structure"]
24impl crate::Readable for LO_SPEC {}
25#[doc = "`reset()` method sets LO to value 0"]
26impl crate::Resettable for LO_SPEC {
27    const RESET_VALUE: u32 = 0;
28}