xmc4100 0.8.2

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