xmc4500 0.14.0

XMC peripheral library for XMC4500 generated from SVD
Documentation
#[doc = "Register `RESM` reader"]
pub type R = crate::R<RESM_SPEC>;
#[doc = "Field `RESULT` reader - Result of most recent conversion"]
pub type RESULT_R = crate::FieldReader<u16>;
impl R {
    #[doc = "Bits 0:15 - Result of most recent conversion"]
    #[inline(always)]
    pub fn result(&self) -> RESULT_R {
        RESULT_R::new((self.bits & 0xffff) as u16)
    }
}
#[doc = "Result Register, Main Filter\n\nYou can [`read`](crate::Reg::read) this register and get [`resm::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct RESM_SPEC;
impl crate::RegisterSpec for RESM_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`resm::R`](R) reader structure"]
impl crate::Readable for RESM_SPEC {}
#[doc = "`reset()` method sets RESM to value 0"]
impl crate::Resettable for RESM_SPEC {
    const RESET_VALUE: u32 = 0;
}