xmc1100 0.2.0

Low-level register mappings for the XMC1100 series of ARM Cortex-M0 microcontrollers
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[doc = "Reader of register RAM0SIZE"]
pub type R = crate::R<u32, super::RAM0SIZE>;
#[doc = "Reader of field `ADDR`"]
pub type ADDR_R = crate::R<u8, u8>;
impl R {
    #[doc = "Bits 8:12 - RAM0 Size"]
    #[inline(always)]
    pub fn addr(&self) -> ADDR_R {
        ADDR_R::new(((self.bits >> 8) & 0x1f) as u8)
    }
}