xmc4100 0.14.0

XMC4100 Cortex-M peripheral access library
Documentation
#[doc = "Register `RBUF1` reader"]
pub type R = crate::R<RBUF1_SPEC>;
#[doc = "Field `DSR1` reader - Data of Shift Registers 1\\[3:0\\]"]
pub type DSR1_R = crate::FieldReader<u16>;
impl R {
    #[doc = "Bits 0:15 - Data of Shift Registers 1\\[3:0\\]"]
    #[inline(always)]
    pub fn dsr1(&self) -> DSR1_R {
        DSR1_R::new((self.bits & 0xffff) as u16)
    }
}
#[doc = "Receiver Buffer Register 1\n\nYou can [`read`](crate::Reg::read) this register and get [`rbuf1::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct RBUF1_SPEC;
impl crate::RegisterSpec for RBUF1_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`rbuf1::R`](R) reader structure"]
impl crate::Readable for RBUF1_SPEC {}
#[doc = "`reset()` method sets RBUF1 to value 0"]
impl crate::Resettable for RBUF1_SPEC {
    const RESET_VALUE: u32 = 0;
}