Skip to main content

mcxa_pac/eqdc0/
lverid.rs

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