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