mcxa_pac/ostimer0/
evtimerl.rs

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