xmc4700/gpdma1/
version.rs

1#[doc = "Register `VERSION` reader"]
2pub type R = crate::R<VERSION_SPEC>;
3#[doc = "Field `VALUE` reader - Version number of the component"]
4pub type VALUE_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31 - Version number of the component"]
7    #[inline(always)]
8    pub fn value(&self) -> VALUE_R {
9        VALUE_R::new(self.bits)
10    }
11}
12#[doc = "DMA Component Version\n\nYou can [`read`](crate::Reg::read) this register and get [`version::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct VERSION_SPEC;
14impl crate::RegisterSpec for VERSION_SPEC {
15    type Ux = u32;
16}
17#[doc = "`read()` method returns [`version::R`](R) reader structure"]
18impl crate::Readable for VERSION_SPEC {}
19#[doc = "`reset()` method sets VERSION to value 0x3231_342a"]
20impl crate::Resettable for VERSION_SPEC {
21    const RESET_VALUE: u32 = 0x3231_342a;
22}