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