xmc4800/gpdma1/
type_.rs

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